[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don't use linker_flags when running CC
From: |
Peter O'Gorman |
Subject: |
Re: Don't use linker_flags when running CC |
Date: |
Mon, 24 Feb 2003 09:17:23 +0900 |
On Monday, February 24, 2003, at 08:41 AM, Robert Boehne wrote:
Approved! Checking in to CVS head.
Thanks Peter!
No, thank you!
I may have another patch for you this week :), assuring that the
correct (just built) libs are linked against on darwin, and doing away
with the requirement for relinking.
I did just notice (well, last night) that my test results lie, I must
have been doing something very odd to make mdemo pass, you can't link
against libs linked with -module on darwin, it must have been finding a
static archive somewhere instead.
Perhaps libtool should discourage this (linking against libs which were
linked with the -module flag) saying "this is not portable" or
something, and not try to do it in the libtool tests.
The f77 tests fail (even though I went and installed f77) because
autoconf does f77 -v to find the libs to link against, which on darwin
at least, shows the start files, which are the same as those for c,c++
etc. and then when it tries to test if it can link something the same
startfiles show up twice in the link line (once from autoconf, once
from gcc), causing multiple definition errors.
Anyway, thanks again,
Peter