[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Exporting functions as lib
From: |
Christian Neumair |
Subject: |
RE: [avr-gcc-list] Exporting functions as lib |
Date: |
Sun, 14 Dec 2003 20:14:35 +0100 |
On So, 2003-12-14 at 09:34 -0500, James A. Russo wrote:
> Chris,
>
> I typically just create the archive from the .o files in my
> makefile.
>
> Ex:
>
> $(AR) -rcs libsensor.a sensor.o support.o
>
> That will give you a libsensor.a suitable for -lsensor.
>
> -jr
>
> > The real question is: How do I get a file that is suitable to link
> > against.
Thanks for this supersonic help, it worked!
regs,
Chris