Compile flags to minimize library size?
Dave Korn
dave.korn@artimi.com
Thu Nov 3 13:18:00 GMT 2005
Daniel Kabs wrote:
> DaveK, thanks for your suggestions.
>
> I think, setting CXXFLAGS (or CFLAGS) is not an option as crosstool.sh
> complains about it:
>
>> test -z "${CFLAGS}" || abort "Don't set CFLAGS, it screws up the
>> build" test -z "${CXXFLAGS}" || abort "Don't set CXXFLAGS, it screws up
>> the build"
>
> but I found EXTRA_TARGET_CFLAGS in there, so I'll give this and your
> CFLAGS_FOR_TARGET a try.
It may be informative to examine how crosstool.sh uses the
EXTRA_TARGET_CFLAGS: AFAICS, it's only applied to the glibc build.
cheers,
DaveK
--
Can't think of a witty .sigline today....
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list