🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3635

link to library file

#3635
From: Gang Chen
Date: Thu, 11 Jun 1998 00:00
13 lines
859 bytes
Hi, 

My compiling line is

gcc -O -L/usr/people/me/lib app.c -lmylib -o app 

I thought that if I put the library file "libmylib.a" in dir
/usr/people/me/lib/, the compiler should find the file. But it seems that
it is not true. What have I done wrong?  

Thanks,
Gang Chen
Technical Details
Message-ID: <Pine.SGI.3.91.980611175730.26799A-100000@cochise.biosci.arizona.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,392f523b5839b5ec,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: fc89c,392f523b5839b5ec,start
X-Google-Attributes: gidfc89c,public
From: Gang Chen <gang@cochise.biosci.arizona.edu>
Subject: link to library file
Date: 1998/06/11
Message-ID: <Pine.SGI.3.91.980611175730.26799A-100000@cochise.biosci.arizona.edu>
X-Deja-AN: 361872588
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: The University of Arizona
Mime-Version: 1.0
Newsgroups: comp.unix.programmer,gnu.gcc.help