13 Jul
2007
13 Jul
'07
12:24 a.m.
Why does G++ have no auto-linking like VC?
It's probable that nobody on this list knows.
Why? I assume the question has come up before and Boost developers have looked at what g++ supports.
Because we're not familiar with the detailed rationales used by the GCC team in deciding what features to support. I suggest you ask on a list where the GCC developers are.
I'm not a GCC developer, but the answers fairly simple. Linking in GCC depends on the order the libraries are specified. -lA -lB -lC -lD libA depends on libB depends on libC depends on libD Source level linking hints tend to cause problems with this. -- Bobby R. Ward ------------------------------ bobbyrward@gmail.com http://www.bobbyrward.com http://combustion.sourceforge.net