This is the mail archive of the crossgcc@sources.redhat.com 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: Compiling with other optimization?


Martin Egholm Nielsen wrote:
I was wondering: If I want to compile my toolchain with another optimization level - e.g. "-Os" - how do I do this?
Does the TARGET_CFLAGS="-O -mcpu=405" line in my demo-script have anything to do with that?

Now I've tried with "-Os" as optimisation, but I'm not able to see any difference in library-sizes. My libgcj.so is still around 50 megs - which is the same as before...


Dan, now that you're back (?), are you able to help me with this one?

I'm not back, really. And I'm pretty sure I can't help make libgcj any smaller. You probably want to talk it over with the developers -- and maybe rethink using precompiled java... - Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

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