[ECOS] Target.ld
Nick Garnett
nickg@ecoscentric.com
Thu Sep 16 09:07:00 GMT 2004
"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
More information about the Ecos-discuss
mailing list