$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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