Message-Id: <3.0.5.32.19980503123954.00798bc0@200.252.238.1> Date: Sun, 03 May 1998 12:39:54 -0300 To: djgpp AT delorie DOT com From: "Thiago F.G. Albuquerque" Subject: PDcurses and 'nodefaultlibs' Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk 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