www.delorie.com/archives/browse.cgi | search |
From: | kagel AT quasar DOT bloomberg DOT com |
Date: | Thu, 6 Jun 1996 13:05:22 -0400 |
Message-Id: | <9606061705.AA05174@quasar.bloomberg.com > |
To: | phishpit AT umich DOT edu |
Cc: | djgpp AT delorie DOT com |
In-Reply-To: | <31B66EE2.2781E494@umich.edu> (message from richard durant on Thu, 06 Jun 1996 01:38:42 -0400) |
Subject: | Re: linking to lib HELP |
Reply-To: | kagel AT dg1 DOT bloomberg DOT com |
From: richard durant <phishpit AT umich DOT edu> Date: Thu, 06 Jun 1996 01:38:42 -0400 I need to link to a special lib file that i have copied into the lib dir. when i compile it complains about a function that i call that is in the special library. the name of the file is libpcv.a gxx <filename> -lpcv i am assuming that this is the correct way of compiling btw i am using djgpp v2 Did you ranlib the library when you built it? Ranlib builds the symbol table that the linker needs to be able to search the library. If not run: ranlib <LIBPATH>/libpcv.a -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |