This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: link no standard library
- To: egcs at cygnus dot com
- Subject: Re: link no standard library
- From: jlarmour at cygnus dot co dot uk (Jonathan Larmour)
- Date: 25 Nov 1998 17:57:28 GMT
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions Ltd, UK
- References: <3.0.32.19981124171042.00927290.cygnus.egcs@jdo.fore.com>
In article <3.0.32.19981124171042.00927290.cygnus.egcs@jdo.fore.com>,
Gilmar Sinhorin <gsinhori@fore.com> wrote:
>
>I would like have your help for find out the problem described below.
>
>I'm constructing an environment with this GNU tools and when I linked a no
>standard library as described below I've no successfully.
>
>command for linking:
>
>sde-gcc -o <output linked file> -L<lib path> -L. -nostdlib -nostartfiles
>-Xlinker -Map -Xlinker netm.map -Xlinker -warn-common -T elfsde.xn <list of
>obj files> -l <libname>
>
>Command log:
><libname>: No such file or directory
>
>Is it the right command for link no standard library?
At a guess you did "-l libfoo.a" rather than just "-lfoo". Can you send
us the complete link line, rather than your paraphrased version?
Thanks,
Jifl
--
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @
marry hoping their wives never do. Both are rare." || jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault