Hello Peter, Bob,
* Bob Friesenhahn wrote on Wed, Oct 18, 2006 at 06:13:39PM CEST:
On Wed, 18 Oct 2006, Peter O'Gorman wrote:
This is what I came up with to take -m64/-m32 into account when
using gcc.
I am not able to spot a problem with it. Extensive testing will
prove
if it works as expected.
Except of course that no test case was added to confirm this, so there
is no way you can know it's fixed except for hoping that somebody will
test it before the release (or you do it yourself).
Taking the idealistic hat off, how can we test something like this
usefully? I think one idea may be like this: Try to link against an
installed library in one of the search paths with -L$path. If that
succeeds, then omitting -L$path should succeed as well. It's quite
a weak test; too weak for most possible errors, but at least I think
it should not have false negatives. Do you have better ideas?