From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b2db409f33a6712e X-Google-Attributes: gid103376,public From: John Howard Subject: Re: Help with Curses and OS/2 (thats PDcurses!) Date: 1996/06/10 Message-ID: #1/1 X-Deja-AN: 159395727 references: to: Tim and Jennifer Erickson content-type: TEXT/PLAIN; charset=US-ASCII organization: SkyNET Corporation mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-06-10T00:00:00+00:00 List-Id: [deletions] On Sat, 8 Jun 1996, Tim and Jennifer Erickson wrote: > gnatbl tuidemo.ali macros.o twid.o -lcurso > > everything runs fine until I reach -lcurso and then gnatbl complains > it cannot find the file. I can understand that as I can't find the > file either. > Tim In pdc22.zip ... CONTRIB/PDCURS22/LIB\ LIBCURSO.A 91048 11 Feb 96 16:41:58 In \DJGPP\DOCS\DJGPPFAQ.TXT ... 8.7 Unresolved externals when linking programs ============================================== **Q*: Why do I get so many unresolved symbols when linking my programs?* *A* : By default, GCC instructs the linker to only look in two libraries: `libgcc.a' and `libc.a'. Some functions aren't included there, so the linker can't find them. GPL library routines, like obstack and regex packages are in `libgpl.a' library; append `-lgpl' to the link command line to use them. To use C++ classes in the `libgpp.a' (it's called `libg++.a' on Unix systems), append `-lgpp'. If you only use the `iostream' classes and don't want your program to be affected by the GNU Copyleft, use the `libiostream.a' library by appending `-liostream' (these are also included in the `libgpp.a' library). 8.8 How not to lose your head with all these libraries ... ------------------------------------------------------------------------ -- John Howard