This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: User libraries
> powerpc-eabi-g++ -nostartfiles -nodefaultlibs -nostdlib
> -L"/home/path_to_workspace/eCos_install/lib" -Wl,--gc-sections
> -Wl,--cref -Wl,-Map,ProjectName.map -lgcc -Ttarget.ld -n -o"ProjectName"
> ./src/ProjectName.o -ltarget -lextras
Leave out -ltarget and -lextras
The linker script includes these.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss