[ECOS] User libraries

Andrew Lunn andrew@lunn.ch
Thu Apr 17 14:43:00 GMT 2008


> 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



More information about the Ecos-discuss mailing list