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] |
Hello Lev! Hello All! On Tuesday 29 December 2009 14:05:45 lev@lingnu.com wrote: > I was trying to use CT_TARGET_CFLAGS=-mthum -mthumb-interwork to reduce > size of all utilities and libs which I build using crosstoll v1.5.1 > But it did not produce reduced binaries. crosstool-NG 1.5.x and before do not support Thumb and Interworking, see below. > Please advice, how to make crosstols to produce reduced utilities and make > it gcc default. Please try with the mercurial repository. There is integrated support for Thumb and interworking in there. It's still experimental, so you'll have to enable EXPERIMENTAL: Paths and misc options ---> [*] Try features marked as EXPERIMENTAL Target options ---> Target Architecture (arm) ---> Default instruction set mode (thumb (EXPERIMENTAL)) ---> [ ] Use Thumb-interworking (READ HELP) This *should* build a toolchain with Thumb-compiled libraries (C library, libstdc++, libgcc, and so on...), and that will generate Thumb binaries by default, without the need to use -mthumb every time you call gcc. And please report back whether it works for you. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |