delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/23/16:22:43

From: Joseph Rose <jorose AT mail DOT gis DOT net>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1000412171857 DOT 18962C-100000 AT is> <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> <fteffs8r43hr4766fgl2j4sdt8kj611qon AT 4ax DOT com> <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
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 <jorose AT pop DOT gis DOT net>
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019