Mail Archives: djgpp/1998/03/04/09:44:50
At 10:39 AM 3/4/98 +0200, you wrote:
>
>On Tue, 3 Mar 1998, Ricki Lee King wrote:
>
>> Compiling: test.cpp
>> no errors
>> Creating: test.exe
>> Error: c:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to
`main'
>> Error: c:/djgpp/lib/libc.a(crt1.o)(.text+0x312):crt1.c: undefined
reference
>
>I cannot reproduce this problem (using the source you posted). Please
>post the commands you used to compile and link the program. Also, add
>-v to these commands and post everything GCC prints while
>compiling/linking.
>
i found the problem. i added rhide to my start menu in win95.
that seems to cause weird errors. i start and msdos window, then
cd to djgpp, then type "rhide", it works fine.
- Raw text -