Subject: | compiling FLTK with DWARF debugging options for RefPerSys |
---|---|
Date: | Sun, 3 Apr 2022 18:27:28 +0200 |
From: | Basile Starynkevitch <bas...@starynkevitch.net> |
Reply-To: | refpers...@framalistes.org |
To: | te...@refpersys.org <te...@refpersys.org>, refpers...@framalistes.org |
Hello all,
For RefPerSys (C++) we need to compile FLTK (from https://www.fltk.org/ ... git clone https://github.com/fltk/fltk.git ...) with DWARF debugging symbol./
This is possible by editing the makeinclude file of FLTK to add, near its line 65, the appropriate options:
OPTIM = -O2 -g -Wall -Wunused -Wno-format-y2k -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections
Sadly, I still don't know if Abhishek was able and allowed to do so.
On my desktop machine, compilation (with a simple make without
-j) took
about 90 seconds. This for fltk commit 9aba7c9db05bde2ac
I would be happy to know if Abhishek was allowed and able to recompile FLTK in that way.
Thanks
-- Basile Starynkevitch <bas...@starynkevitch.net> (only mine opinions / les opinions sont miennes uniquement) 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/
For RefPerSys (C++) we need to compile FLTK (from https://www.fltk.org/ ... git clone https://github.com/fltk/fltk.git ...) with DWARF debugging symbol./
This is possible by editing the makeinclude file of FLTK to add, near its line 65, the appropriate options:
OPTIM = -O2 -g -Wall -Wunused -Wno-format-y2k -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections
I would be happy to know if Abhishek was allowed and able to recompile FLTK in that way.