www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/04/17:59:21

Date: 4 Aug 93 14:30 -0700
From: Jason Pak <pak AT cs DOT ubc DOT ca>
To: <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: can't find the library

I compiled some c codes to object files. Then I create a library
of these objects and put it in the \djgpp\lib directory. However
when I compile a new c file and try to use the new library without
giving its path, the gcc compiler complains not able to find the 
library. If I type something like "gcc file.c \djgpp\lib\mylib",
the program works. Why?

Jason

- Raw text -


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