delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/16/06:11:26

Date: Thu, 16 Apr 1998 10:14:58 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: James W Sager Iii <sager+@andrew.cmu.edu>
cc: djgpp AT delorie DOT com
Subject: Re: gbm allegro q
In-Reply-To: <8pBN1bC00YUq1ICkU0@andrew.cmu.edu>
Message-ID: <Pine.SUN.3.91.980416101319.12532L-100000@is>
MIME-Version: 1.0

On Thu, 16 Apr 1998, James W Sager Iii wrote:

> Error: c:/tc/bin/ld.exe: cannot open -lgbm: No such file or directory (ENOENT)
>   
> This is weird because I copied the gbm.a to my libraries directory.

You need to call that library libgbm.a, not gbm.a.  When the linker sees 
a switch such as -lfoo, it looks for libfoo.a.  (The reason for this are 
buried in the history of Unix.)

- Raw text -


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