possible error for cross-gcc-2.3.5-glibc-2.3.2?
Dan Kegel
dank@kegel.com
Sat Oct 9 16:09:00 GMT 2004
Dan Kegel wrote:
> Dan Kegel wrote:
>
>> 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?
>
>
> Oh, I see gcc-3.3.5 on the ftp site now, I'm trying that.
That works, too. How did you configure gcc?
For what it's worth, gcc-3.3.5 might have some new stuff in
it for lsb conformance; I could imagine needing to give -leh
to link a static program. But I didn't have to in my test
just now.
- 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