possible error for cross-gcc-2.3.5-glibc-2.3.2?

Dan Kegel dank@kegel.com
Sat Oct 9 14:50:00 GMT 2004


Carlos de wrote:
> I compiled the cross-compiler toolchain for arm9tdmi
> using gcc-3.3.5, glibc-2.3.2, binutils-2.15 using
> linux-2.6.8.1. the compilation appeared to complete
> correctly except for the 'hello world' test at the end
> which generated the following error - 
> 
> +/home/carlos/crossgcc2.95.3_ARM_2.6/arm-9tdmi-linux-gnu/gcc-3.3.5-glibc-2.3.2/bin/arm-9tdmi-linux-gnu-gcc-static hello.c -o arm-9tdmi-linux-gnu-hello-static
> /home/carlos/crossgcc2.95.3_ARM_2.6/arm-9tdmi-linux-gnu/gcc-3.3.5-glibc-2.3.2/lib/gcc-lib/arm-9tdmi-linux-gnu/3.3.5/../../../../arm-9tdmi-linux-gnu/bin/ld:
> cannot find -lunwind
> collect2: ld returned 1 exit status

I can't reproduce this using gcc-3.3-20041006.
I guess I'll try prerelease-3.3.5-20040914 now,
is that what you used?

Are you using any patches?

> Also have been able to compile the linux-2.6.8.1
> kernel for the samsung s3c2410 - smdk2410 board
> without getting any errors. Though have yet to see if
> it works.

Great...

> A question here  -  the s3c2410 does not have a FPU.
> Thus do i have to enable support for software FP ops 
> for glibc? i though anyway the kernel took care of
> that  with its FP emulation ? 

The kernel FP emulation is supposed to, but it's
pretty slow, and people who want fast floating point
often turn on one of the soft floating point options.
You should stick with kernel FP emulation if it works
well for you.
- 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