|
From: | Nick Clifton |
Subject: | Re: a problem with ld options |
Date: | Tue, 26 Oct 2004 11:44:09 +0100 |
User-agent: | Mozilla Thunderbird 0.7.3 (X11/20040803) |
Hi Alan,
I'm encoutering a problem with ld. First, I compile and link my program as follows: gcc -Wl,-r -Wl,-d -static try.c -o try.o ld -q try.o -o try.outI am unable to complete this last step (running ld with the -q option). It always fails for me with the message:undefined reference to `printf'
I used the try.o provided in PR 465, and since I had mips-linux binutils available, ran "mips-linux/ld/ld-new -EL -q try.o"
Did this produce an output file with corrupt dynamic relocs ? I just tried it with the mainline binutils sources and the 2.15 branch and in both cases the output file was fine.
Cheers Nick
[Prev in Thread] | Current Thread | [Next in Thread] |