Re: [Boost-users] Why does G++ have no auto-linking like VC?
Hi, Why does G++ have no auto-linking like VC? And what is the recommended way to link to a Boost lib with g++ or make? Please CC me, I'm not on the list. Olaf
on Thu Jul 12 2007, "Olaf van der Spek"
Hi,
Why does G++ have no auto-linking like VC?
It's probable that nobody on this list knows.
And what is the recommended way to link to a Boost lib with g++ or make?
See http://www.boost.org/more/getting_started/unix-variants.html -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
On 7/12/07, David Abrahams
The following message is a courtesy copy of an article that has been posted to gmane.comp.lib.boost.user as well.
on Thu Jul 12 2007, "Olaf van der Spek"
wrote: Hi,
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.
And what is the recommended way to link to a Boost lib with g++ or make?
See http://www.boost.org/more/getting_started/unix-variants.html
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com
on Thu Jul 12 2007, "Olaf van der Spek"
On 7/12/07, David Abrahams
wrote: The following message is a courtesy copy of an article that has been posted to gmane.comp.lib.boost.user as well.
on Thu Jul 12 2007, "Olaf van der Spek"
wrote: Hi,
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. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
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
participants (3)
-
Bobby R. Ward
-
David Abrahams
-
Olaf van der Spek