This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: UEGENT: for Help!
- From: "Andrea 'fwyzard' Bocci" <fwyzard at inwind dot it>
- To: "Aiqun Du" <aiqun_du at hotmail dot com>
- Cc: gcc-help at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 08 Jan 2003 17:28:33 +0100
- Subject: Re: UEGENT: for Help!
At 10.57 08/01/2003 -0500, Aiqun Du wrote:
Hi,
I'm using GCC 3.2 (powerpc64-linux-gcc). I have several .o and a mylib.a
library file (created using ar, on .o that are compiled using same gcc). I
run following command to try to link them together:
gcc foo.o bar.o --library=mylib.a
Call your library "libmylib.a", and run gcc as following:
gcc foo.o bar.o -lmylib
Thank you for your help.
Alice
fwyzard