can't link with crtend.o

Martin Schaffner schaffner@gmx.li
Thu Feb 26 17:30:00 GMT 2004


Alexander wrote:

> sh-elf-gcc -c -m4 -Wall -Wa,-ahls=Program.lst  Program.cpp -o Program.o

You can't compile a c++ program (ending .cpp) with gcc. Use g++

Martin


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list