This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile flags to minimize library size?


Hello DaveK!

On Thursday 03 November 2005 14:18, Dave Korn wrote:
>   It may be informative to examine how crosstool.sh uses the
> EXTRA_TARGET_CFLAGS: AFAICS, it's only applied to the glibc build.

And crosstool.sh concurs:

| test -z "${EXTRA_TARGET_CFLAGS}"   && echo "EXTRA_TARGET_CFLAGS not set, so
| not passing any extra cflags to gcc when building glibc"

Nevertheless, I'll just give it a try and see if it works for libstdc++, too.

I admit my approach follows trial and error. That's because I don't know what 
steps are needed to build a toolchain manually. But that's exactly the reason 
why I use crosstool :-)

Cheers
Daniel

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]