Den 2009-09-13 00:02 skrev David Byron:
$ ../configure CC=cl CFLAGS='-MD -Zi' LD=link LDFLAGS='-Wl,-DEBUG'
NM='dumpbin -symbols' AR=lib STRIP=: RANLIB=: --disable-static
That will not work (as you noticed) as it will send the -Wl, option
stright to cl when configure tries w/o libtool.

Is there any hope of this working one day?  What would it take?  I suppose
this is an autoconf issue, not a libtool one but am I wrong in thinking that
in some more complete sense of msvc support that it should work?

I don't think there's much hope for this particular isseu. I suppose that's
one reason cccl and other wrapper scripts are used... I don't think other
compiler drivers that use something other than "-Wl," to pass linker flags
through likes "-Wl," in LDFLAGS during configure either. A quick scan
through libtool.m4 hints that Sun C++ might be one such beast. Maybe
there's need for something like LT_LDFLAGS?

I blew away all the stuff related to autoreconf and re-ran it and now it
works.  If someone is interested in figuring out more about what's going on
here, let me know and I'll revert the patches and re-test, etc.

...

This works.

...

So does this.

Great!

Cheers,
Peter


Reply via email to