Re: mention how to compile FLTK 1.5 on Linux as shared library with debug and optimization
Manolo
03:43 Sep 10
Le mardi 9 septembre 2025 à 11:03:54 UTC+2, bas...@starynkevitch.net a écrit :
Please mention on the FLTK website in an easily readable way how to compile FLTK 1.5 on Linux/Debian with both debug information and optimizations as a shared (not static) library
Since many recent GCC compilers accept all of `-fPIC -shared -O -g`
I believe what you are looking for is CMake's option CMAKE_CXX_FLAGS.
These commands will build the FLTK shared libraries with "-fPIC -O -g":
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.