Message-ID: <39776106.B062177F@puckbell.net> From: Tasci Synx X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Linking Object Libraries References: <3977519D DOT 1545FF4C AT puckbell DOT net> <200007201942 DOT PAA31950 AT envy DOT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 Date: Thu, 20 Jul 2000 13:28:54 -0700 NNTP-Posting-Host: 63.197.122.98 X-Complaints-To: abuse AT pacbell DOT net X-Trace: news.pacbell.net 964124505 63.197.122.98 (Thu, 20 Jul 2000 13:21:45 PDT) NNTP-Posting-Date: Thu, 20 Jul 2000 13:21:45 PDT Organization: SBC Internet Services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DJ Delorie wrote: > > You need to list your objects first, *then* the libraries. Thanks for replying so soon! Sadly, I tried your advice to no avail. I'm still getting it mixed up. Both gpp -g mufcode.o mufcoder.o -Lc:\windows\desktop\tcl\code\library -lgame -o muf.exe and gpp -g mufcode.o mufcoder.o -o muf.exe -Lc:\windows\desktop\tcl\code\library -lgame produced the same linker errors as before. I even tried gpp -Lc:\windows\desktop\tcl\code\library -g mufcode.o mufcoder.o -1game -o muf.exe but still got the same 100 or so 'undefined reference to...' errors. Thanks much for your help. I hope you can clear up my misinterpretation of your advice. Tasci -- To send me an email, just replace the @ and the . -----wassdamo at pacbell dot net