Mail Archives: djgpp/1998/05/03/16:27:35
I am trying to compile a source with PDcurses library. When I use this
command:
C:\C\source>gcc menu_x.c -Ic:\djgpp\contrib\pdcurs22\include
-Lc:\djgpp\contrib\pdcurs22\lib -lcurso -o menu_x.exe
I receive this error:
c:/djgpp/lib/libc.a(conio.o)(.text+0x640):conio.c: multiple definition of
`ungetch'
c:\djgpp\contrib\pdcurs22\lib/libcurso.a(getch.o)(.text+0x264):getch.c:
first defined here
If I use the '-nostdlib' option, however, I get this:
c:/djgpp/bin/ld.exe: warning: cannot find entry symbol start; defaulting to
0000
10d0
I guess the correct option to use would be '-nodefaultlibs', but gcc 'says'
it is not a recognized option (!). Is there any option that makes gcc list
all its options (like -h, for example?).
Thanks,
Thiago
- Raw text -