arm-elf-gcc, arm-elf-g++, arm-elf-c++
Dave Korn
davek-ml@ntlworld.com
Tue Oct 30 17:43:00 GMT 2001
----- Original Message -----
From: "Richard Slaughter" <rslaughter@anatel.com>
To: <crossgcc@sourceware.cygnus.com>
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
disappear.
DaveK
--
Burn your ID card! http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list