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?


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.

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]