features wishes for FOX (1.7.87 or newer) on Linux

Basile Starynkevitch <[email protected]> Tue, 01 Jul 2025 12:42:08 +0200
Newsgroups gmane.comp.lib.fox-toolkit.user
Message-ID <[email protected]>
Hello all

On my Debian/Trixie/x86-64 desktop I did configure FOX 1.7.87 (ie the 
fox-snapshot.tar.gz2 fetched today near Jul  1 12:00 PM CEST 2025, whose md5sum
is e250a287d6902ef21b39513a8da3f833) with

     './configure'  '--with-x' '--enable-release' \
     'CFLAGS=-Dmoncflagsici -O2 -g2' \
     'CXXFLAGS=-Dmoncxxflagsla -O2 -g2' 'CXX=/usr/local/bin/g++-15'

The G++-15 compiler has been compiled by myself.

The -Dmoncflagsici and -Dmoncxxflagsla preprocessor flags are totally useless,
but I am adding them to ensure that they are passed. 

Surprisingly make output don't show them.


My suggestions (or wishes) are:

1) have the FOX build infrastructure generate some _fox-configure_.h file
containing all the -DHAVE_* preprocessor flags. This ensure that the compilation
commands remain short and human readable.

2) provide some API (or generated preprocessor string) containing the
configuration options. As far as I know GNU autoconf knows how to do that.

3) provide some API to query the (many) optional features (wayland support,
opengl support, X11 support) and the build time.

4) I have no idea if FOX can be compiled and linked with link-time-optimization
options. If that is the case please document so.

Thanks for reading.

Regards from near Paris in France (it is terribly hot here).
-- 
Basile STARYNKEVITCH                            <[email protected]>
8 rue de la Faïencerie                       http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSys


_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users