Re:Compiling options.


Subject: Re:Compiling options.
From: Kenneth J.Davis (jeremyd@computer.org)
Date: Sun Jan 20 2002 - 13:46:06 CST


Scott <mrphido@prodigy.net> wrote on 1/20/2002 7:53:55 AM:
>
>I know that some of these options are platform specific.
>Other than these options which I think are all Linux specific,
>
>ABI_OPT_BONOBO=[1,0] To enable Bonobo support
>ABI_OPT_GNOME=[1,0] To enable Gnome support
>ABI_OPT_LIBJPEG=[1,0]
>ABI_REQUIRE_PEER_ICONV=[1,0]
>ABI_OPT_LIBXML2=[1,0] To enable LibXML
>ABI_OPT_PERL=[1,0] enable Perl scripting

I would argue that not all of these are linux specific, but
yes they are platform specific. Ok maybe a couple are linux
specific, but the JPEG,ICONV,XML2, & PERL ones could (maybe not
are) be used for any platform.

I would also like to add
ABI_REQUIRE_PEER_LIBPNG
to your list (similar purpose as ICONV one), though they are
not so much [1,0] as defined or undefined.

>
>and these options which build a distribution on Linux.
>
>prefix=/usr/local
>ABI_BUILD_VERSION=x.y.z
>ABI_RELEASE_NUMBER=n \
>ABI_DIST_TARGET=rpm OUT=<dir> \
>ABI_BUILD_PACKAGER="You <email@of.yourse.lf>"

The ABI_BUILD_VERSION one is cross platform
the others are probably platform (Unix) specific.?
 

>
>Are all of these options cross platform?
>
>ABI_OPT_DEBUG=[1,0] enable debugging
>UNIX_CAN_BUILD_STATIC=[1,0] Include all libraries within Abi's structure
>UNIX_CAN_BUILD_DYNAMIC=[1,0] Link to libraries in Operating System
>ABI_OPT_OPTIMIZE=[1,0]

I believe so, but I'm not sure if the two UNIX_CAN_BUILD_* ones actually
have an effect on all platforms.

>
>Which of these is the correct command to enable BiDirectional text
>support?
>
>ABI_OPT_BIDI=[1,0]
>ABI_OPT_BIDI_ENABLED=[1,0]
>
>And what are the commands to enable/disable this option I have heard
>about?
>
>enable Pspell
>
>Thanks in advance,
>Scott Bingman

>>> Which of these is the correct command to enable BiDirectional text
>>> support?
>>>ABI_OPT_BIDI_ENABLED=1
>>
>>there is also and additional bidi option to make AW default to right-
>>to-left direction:
>>ABI_OPT_BIDI_RTL_DOMINANT=1
>>
>>Tomas

Additionally there are:
ABI_OPT_CYGWIN_UNIX (cywin/gcc/gtk instead of native windows build)
                    I don't know if it works though (also uses ifdef test)
ABI_OPT_PROF=[1,0] for profiling flags I think
ABI_OPT_WAY_TOO_MANY_WARNINGS=[1,0] ??? linux one to disable some warnings???

These are used, but generally should be left unset so they are auto set.
OS_NAME
OS_RELEASE
ABISOURCE_LICENSED_TRADEMARKS

My information is mostly based on glancing through config/abi_defs.mk and
the Linux/Win32/DOS ones in config/require/ and config/platforms/ so
may not be totally accurate.

Jeremy Davis
jeremyd@computer.org



This archive was generated by hypermail 2b25 : Sun Jan 20 2002 - 14:13:01 CST