Compile flags to minimize library size?
Dan Kegel
dank@kegel.com
Thu Nov 3 15:47:00 GMT 2005
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
More information about the crossgcc
mailing list