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?


Dave Korn wrote:
  Save your build logs, and see if you can find the command where it recurses
into the $target/libstdc++-v3 subdir, then look at the make command line it's
issuing to get there.  With a bit of luck you'll see some likely-looking
candidates being passed on the command line.

Here's what you're looking for: add --enable-cxx-flags to GCC_EXTRA_CONFIG, e.g.


arm-xscale.dat:GCC_EXTRA_CONFIG="--with-cpu=xscale --enable-cxx-flags=-mcpu=xscale"

--
http://kegel.com/linux/comfort

------
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]