Creating ARM toolchain

Dan Kegel dank@kegel.com
Wed Aug 4 05:24:00 GMT 2004


Dan Kegel wrote:
> Hinko Kocevar wrote:
> 
>> Further, I tried this combination and it failed also:
>> crosstool-0.28-rc31> eval `cat arm-softfloat.dat 
>> gcc-3.4.1-glibc-2.3.2.dat ` sh all.sh --notest
>> ...
>> : undefined reference to `__floatsisf'
>> /media/sda1/toolchains/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/gcc-3.4.1-glibc-2.3.2/build-glibc/libc_pic.os(.text+0xceed0): 
>> In function `monstartup':
>> : undefined reference to `__divsf3'  ...
>>
>> I tested a toolchain that compiled successfully (using 
>> gcc-3.3.3-glibc-2.3.2.dat) on kernel and microwindows and it produces 
>> runnable binaries.
> ...
> Probably I need to copy some patches from gcc-3.3.3 or gcc-3.4.0 to
> gcc-3.3.4 or gcc-3.4.1...

OK, I narrowed it down a bit.  It looks like
  cd patches
  cp glibc-2.3.2/arm-ctl_bus_isa.patch glibc-2.2.5/
  mkdir gcc-3.4.1
  cp gcc-3.4.0/gcc-3.4.0-arm-lib1asm.patch gcc-3.4.1/
will fix the build breakages you were seeing with gcc-3.3.4
and gcc-3.4.1.  All I did was grep for the error message
in patches/*, pretty much.

Let me know if that helps.
- 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



More information about the crossgcc mailing list