This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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: How do I build an arm interwork libgcc.a? FPA vs VFP?


Over the last week I answered my own question. Here's the result as a reference.

Using the following config:
../src/gcc/configure --target=arm-thumb-elf --enable-multilib --prefix=/usr/local/gnu
--with-newlib --enable-languages=c

I had to modify the source file: .../gcc/config/arm/t-arm-elf
The following library options were commented out:
MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
MULTILIB_DIRNAMES   += normal interwork

After rebuilding, I had the following tree of libraries:
gcc/libgcc
gcc/libgcc/interwork
gcc/libgcc/thumb
gcc/libgcc/thumb/interwork  * this is the object set I need

Still, gcc/libgcc.a does NOT contain the objects I require.
However I can simply replace libgcc.a with a library assembled from the appropriate object set.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]