This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Declaring new section
- To: Robert Cragie <rcc at jennic dot com>
- Subject: Re: [ECOS] Declaring new section
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Date: Fri, 10 Aug 2001 12:45:12 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <NDBBLOIOMLKELOJBAPAGGEBDCIAA.rcc@jennic.com>
> Also, whilst we're on the subject, is there anyway to link in .a files
> without having to physically include them in target.ld?
-l works. I use it all the time. When you have multiple libraries you may need
to use
-Wl,--start-group $(LIBS) -Wl,--end-group
to make the link do mulitple passes.
Andrew