This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]