public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* -fabi-version doing nothing?
@ 2004-12-03 22:41 Mike Hearn
  2004-12-06 11:53 ` Nathan Sidwell
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Hearn @ 2004-12-03 22:41 UTC (permalink / raw)
  To: gcc

Hi,

I am using this configuration:

[mike@littlegreen frontend-gtk]$ g++ -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linuxThread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

ie a stock FC3 build of g++ 3.4 which defaults to abi version 2.

The following series of commands does not do what I expected:

[mike@littlegreen tmp]$ g++ -o one b.cpp
[mike@littlegreen tmp]$ g++ -fabi-version=1 -o two b.cpp
[mike@littlegreen tmp]$ md5sum one two
093f7ddc1290fa9668fe89c494791aa3  one
093f7ddc1290fa9668fe89c494791aa3  two

ie, the symbol and libstdc++ versions required by the abi-version=1 and 
abi-version=2 binaries are identical. I was sort of expecting 
-fabi-version=1 to make g++ 3.4 produce binaries like version 3.3 
and 3.2 did, ie that depend on libstdc++.so.5 and use GLIBCPP style
symvers not GLIBCXX style.

Am I doing something wrong, am I misunderstanding what this flag is 
supposed to do, or is this a bug in g++?

thanks -mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-06 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 22:41 -fabi-version doing nothing? Mike Hearn
2004-12-06 11:53 ` Nathan Sidwell
2004-12-06 12:40   ` Mike Hearn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).