GNU/kFreeBSD support in Jam
Hi,
The system build types in jam are defined by checking the definition of
"linux" and "__FreeBSD__":
# ifdef __FreeBSD__
# define OSMINOR "OS=FREEBSD"
# define OS_FREEBSD
# endif
...
# ifdef linux
# define OSMINOR "OS=LINUX"
# define OS_LINUX
# endif
I think someone would add an entry for GLIBC, but there are another Linux
kernel based systems wich don't use GLIBC, so, What could be the best way to
include GNU/kFreeBSD detection in these definitions?
I, as a workaround (to build gargoyle-free) added this to jam.h, without
deleting the Linux entry:
# ifdef __GLIBC__
# define OSMINOR "OS=GLIBC"
# define OS_GLIBC
# endif
It isn't very clean, but it works fine for building gargoyle-free
Thanks,
Javier
Reply to: