On 7/18/10, Josh Rickmar <joshua_rickmar_AT_eumx.net> wrote:
> in the irc channel said he remembers a similar problem when linking with
> ld on Linux. Any ideas?
nah, that's not what i meant
i just noted that you get similar error when you link with ld in general like
ld -o foo -lc foo.o
> /usr/lib/crt0.o(.text+0x9d): In function `___start':
> : undefined reference to `main'
> collect2: ld returned 1 exit status
> *** Error code 1
does other stuff compile fine? eg try
cc -c -o foo.o foo.c
cc -o foo -lc foo.o
Received on Mon Jul 19 2010 - 08:30:40 CEST
This archive was generated by hypermail 2.2.0 : Mon Jul 19 2010 - 08:36:02 CEST