can't link with crtend.o

Alexander Gdalevich gdalevich@hotmail.com
Thu Feb 26 21:17:00 GMT 2004


You can compile c++ programs with gcc.

Thanks for suggestion, though... I've tried using g++ but it had made no 
difference.




----------------------------------------------------------------
"Normal people ... believe that if it ain't broke, don't fix it. Engineers 
believe that if it ain't broke, it doesn't have enough features yet."





>From: Martin Schaffner <schaffner@gmx.li>
>To: crossgcc@sources.redhat.com
>Subject: can't link with crtend.o
>Date: Thu, 26 Feb 2004 17:04:46 +0000
>
>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
>

_________________________________________________________________
Take off on a romantic weekend or a family adventure to these great U.S. 
locations. http://special.msn.com/local/hotdestinations.armx


------
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