Date: Wed, 6 Jul 1994 09:18:26 -0400 (EDT) From: Edwin Phillips Subject: Re: your mail To: mgroup AT bepc2 DOT ihep DOT ac DOT cn Cc: DJGPP mailing list On Wed, 6 Jul 1994 mgroup AT bepc2 DOT ihep DOT ac DOT cn wrote: > Dear sir, > > The reason I send this mail to you is I try to get your help for the > use of DJGPP. > > 1. When I use GCC to compile and link my program, The messages > " undefined reference to ... " always exist. Maybe I use the > wrong lib. Could you tell me how to known which subroutines > are contained in a lib xxxx.a ? \DJGPP\BIN\NM xxxx.a lists the symbols in an archive. > 2. I have some xxxx.o files. Could you tell me how to create a lib > and put the xxxx.o files in it ? > \DJGPP\BIN\AR CRV *.o libnew.a will create an archive out of all .o files in the current dir and put them in libnew.a. There are docs on the these program in bnu22dc.zip. Ed /****************************************************************************/ /* Ed Phillips flaregun AT strauss DOT udel DOT edu University of Delaware */ /* Jr Systems Programmer (302) 831-6082 IT/Network and Systems Services */ /****************************************************************************/