Mail Archives: djgpp/2000/04/23/16:22:43
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 -