Boost logo

Boost Users :

From: Bobby R. Ward (bobbyrward_at_[hidden])
Date: 2007-07-12 20:24:31


> >> > 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_at_[hidden]
http://www.bobbyrward.com
http://combustion.sourceforge.net


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net