cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/25/19:05:33

From: "samidee" <djseblive AT infonie DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Linking to a library, while compiling
Date: Thu, 25 Nov 1999 23:11:11 +0100
Organization: Infonie
Lines: 17
Message-ID: <943568106.404219@news1>
NNTP-Posting-Host: 10.1.5.10
X-Trace: starship.infonie.fr 943567057 5289 10.1.5.10 (25 Nov 1999 21:57:37 GMT)
X-Complaints-To: abuse AT infonie DOT fr
NNTP-Posting-Date: 25 Nov 1999 21:57:37 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Cache-Post-Path: news1!unknown AT 212 DOT 232 DOT 17 DOT 157
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
I'm very new in Djgpp stuff, and i have a problem while compiling. I need to
indicate Djgpp where a library i need to include is, but, after many tries,
it's not able to find it.
Here what i've tried ( the library i need is in the c:\mysql\lib\debug\
directory and is called mysqlclient.lib)

gcc -o test.exe test.c -L c:\mysql\lib\debug - l mysqlclient.lib

I think it's because i'm wrong with the directory format, if you could help,
it would be great.

Thanks in advance

Samidee


- Raw text -


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