This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: can't link with crtend.o



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]