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: Building Cross Toolchain for ARM with softfloat support


Thomas Gleixner wrote:

> On Thursday, 28. February 2002 08:23, jeroen dobbelaere wrote:
> 
>>Thomas Gleixner wrote:
>>- build/install binutils
>>- build/install gcc (3.0.4) with as extra option in the configuring :
>>    --with-inhibit-libc
>>
> I try following command line:
> ./configure --target=arm-linux --prefix=$PREFIX $HOST 
> --with-headers=$KERNEL/include --with-softfloat-support=multilib-internal 
> --without-fp --with-inhibit-libc
> make LANGUAGES=c


For gcc-3, you should configure with '--enable-languages=c', then use 'make' and 'make install'
In order for the '--with-inhibit-libc' to work, you should have a file 't-inhibit-libc' in
gcc-3.0.4/gcc/config/arm/ (created by the softfloat patch)
After you then have compile gcc and glibc, you can configure with '--enable-languages=<any language you like>'

In order for the multilib version to work completely, you should probably compile glibc multiple times
(with different options), but I've no experience with that.


> It compiles. It builds xgcc.
> Then it tries to build libgcc and fails, because no valid crti.o and crtn.o 
> are available.
> I tried also to build --with-softfloat-support=internal : failed at same stage
> Next was --with-softfloat-support=multilib-external : failed at same stage
> 
> 
[..]


Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com



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