From: Joseph Rose Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems linking Date: Sun, 23 Apr 2000 17:14:15 -0400 Organization: Posted via Supernews, http://www.supernews.com Lines: 33 Message-ID: <390367A7.D16A6929@pop.gis.net> References: <38F71722 DOT E1E54447 AT pop DOT gis DOT net> <38F75621 DOT E787315E AT is DOT elta DOT co DOT il> <38F79F53 DOT 4700890F AT pop DOT gis DOT net> <38F816C4 DOT FBB53901 AT pop DOT gis DOT net> <2dkjfssfugjahomllbmqldp910kbmb1fjs AT 4ax DOT com> X-Complaints-To: newsabuse AT supernews DOT com X-Mailer: Mozilla 4.7 [en]C-NECCK (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have a problem linking to *any* external source and object files. Damian Yerrick wrote: > On Sat, 15 Apr 2000 03:14:12 -0400, Joseph Rose > wrote: > > >Damian Yerrick wrote: > > > >> > >> You forgot to add the library in Options > Libraries. For instance, > >> with the Allegro library (similar to what you are probably using), > >> type ``alleg'' somewhere into the big blue box and put an X in the > >> blue column right next to it. This adds ``-lalleg'' to the linker's > >> commandline. > > > >I tried that. I got a "Error: c:/djgpp/bin/ld.exe: cannot find > >-lC:\ZZZ\GR\386P\VGADr386.o" error message. > > Commandline: Don't use -l before the object file's name. > -l is for libraries (.a) in the standard library directory. > > RHIDE: Try adding the object file to your project, not as a library. > > -- > Damian Yerrick > "I refuse to listen to those who refuse to listen to reason." > See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html > > This is McAfee VirusScan. Add these two lines to your signature to > prevent the spread of signature viruses. http://www.mcafee.com/