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] |
I built arm-elf gcc 4.2.0 with newlib and afterwards found that ARM/Thumb interwork wasn't enabled:
> arm-elf-gcc -print-multi-lib .; thumb;@mthumb
Then, I enabled ARM/Thumb interwork in gcc/config/arm/t-arm-elf using patch in attachment and then get
> arm-elf-gcc -print-multi-lib .; thumb;@mthumb interwork;@mthumb-interwork thumb/interwork;@mthumb@mthumb-interwork
Is this the correct way to enable ARM/Thumb interwork? If yes, why is it disabled by default?
Using Google there seem to be GCC configure options --enable-mulitlib and --enable-interwork as well. But a full text search for these options over GCC 4.2.0 sources doesn't match anything. Are these options still necessary?
--- ./gcc/config/arm/t-arm-elf_orig 2007-05-27 11:00:22.000000000 +0200 +++ ./gcc/config/arm/t-arm-elf 2007-05-27 11:00:28.000000000 +0200 @@ -22,10 +22,10 @@ MULTILIB_MATCHES = # MULTILIB_OPTIONS += mhard-float/msoft-float # MULTILIB_DIRNAMES += fpu soft # MULTILIB_EXCEPTIONS += *mthumb/*mhard-float* -# -# MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork -# MULTILIB_DIRNAMES += normal interwork -# + +MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork +MULTILIB_DIRNAMES += normal interwork + # MULTILIB_OPTIONS += fno-leading-underscore/fleading-underscore # MULTILIB_DIRNAMES += elf under #
-- 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] |