Shridhar Daithankar <[EMAIL PROTECTED]> writes:
> gcc -I. -c main.c test1.c test2.c
> gcc -shared -o libtest1.so test1.o
> gcc -shared -o libtest2.so test2.o
> gcc -o test -L. -ltest1 main.o
>
> $ ./compile.sh
> ./libtest1.so: undefined reference to `func4'
> collect2: ld returned 1 exit status
Hi,
First of all, sorry for posting the sources inline but I don't know if
attachments are allowed on this list. I am not subscribed, so please CC to
me.
While porting a project from HP-UX to Linux I ran into this problem where the
linker asks for all the dependent shared libraries, not only t
--- Additional Comments From pluto at pld-linux dot org 2005-04-04 16:20
---
another testcase:
binutils-2.15.96)
# gcc emptymain.c -L/usr/X11R6/lib/ -lXext
/lib/libdl.so.2: undefined reference to [EMAIL PROTECTED]'
/lib/libdl.so.2: undefined reference to [EMAIL PROTECTED]'
/lib/li
--- Additional Comments From ramana dot radhakrishnan at codito dot com
2005-04-04 10:44 ---
The patch can be found here.
http://sourceware.org/ml/binutils/2005-04/msg00064.html
Someone should close this bug.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=813
--- You
HI,
i wanted to run a small program on MPC8560 processor
i wrote a small application and i cross compile with PPC_82xx-gcc
i got a obj file as a.out
even if i changed the code in my application the final "a.out"is showing the same size
* will the out put file(a.out) work only i
Hello,
I use AS for generating object files where time is
critical.
I mean I have to speed up gas as much as possible. As for
input I give AS
very big .asm files with size more than 200mb. so it works
very slow. I
tried to cut input file to several small .asm files - AS
became work more
faster
Hi Raymond,
I'm trying to build the binutils and gcc wirh arm and elf support.
I have tried the following targets with no success:
--target=arm-*-elf*
--target=arm-*-elf
--target=arm9e-*-elf
The build and host system is i686-pc-cygwin.
I hope that you were not literally including those asterisks as
--- Additional Comments From dk at artimi dot com 2005-04-04 11:04 ---
I've verified Ramana and Nick's patch (from HEAD) works fine, so I think it's
time to close the bug. Nice work guys!
--
What|Removed |Added