arm-elf-gcc, arm-elf-g++, arm-elf-c++

Dave Korn
Tue Oct 30 17:43:00 GMT 2001

----- Original Message -----
From: "Richard Slaughter" <>
To: <>
Sent: Wednesday, October 31, 2001 12:02 AM
Subject: arm-elf-gcc, arm-elf-g++, arm-elf-c++

> David,
> you just confused me.. easy to do..
> what is the difference between arm-elf-gcc, arm-elf-g++, arm-elf-c++?
> I've been using arm-elf-gcc.

The g++ driver presents different options to the compiler and the linker
than the gcc driver, and different predefines to the preprocessor.  For
example, g++ automatically adds '-lstdc++' to any command line but gcc
doesn't.  I suspect that it needs to add some options to make the C++
exception handling and stack unwinding stuff work right, and if you use g++
(I think c++ will be the same as g++) you may find your problems magically

Burn your ID card!
Help support the campaign, copy this into your .sig!

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list