This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Target.ld
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: 16 Sep 2004 10:06:56 +0100
- Subject: Re: [ECOS] Target.ld
- References: <6B80E71673E6D611AC1D0008C7F37BC203F8E5CC@wt15.wt.tno.nl>
"Meulendijks, J." <Meulendijks@WT.TNO.NL> writes:
> When I use the following command:
>
> powerpc-eabi-gcc -g -l/ecos-c/cygwin/EcosWork/kernel_install/include hello.c
> -l/ecos-c/cygwin/EcosWork/kernel_install/lib -Ttarget.ld -nostdlib
That commandline should probably read:
powerpc-eabi-gcc -g -I/ecos-c/cygwin/EcosWork/kernel_install/include hello.c
-L/ecos-c/cygwin/EcosWork/kernel_install/lib -Ttarget.ld -nostdlib
i.e. -I not -l for the include path, -L not -l for the library path.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss