Hello Akim, Matthieu,
* Akim Demaille wrote on Thu, Nov 27, 2008 at 03:48:25PM CET:
Well, I'm trying to have the libtool test suite pass on this platform
(ie., GNU/Linux running VC++ on top of Wine). There are a number of
things that don't work cleanly, and maybe we should go step by
step. I
need the changes Paolo posted.
First of all, we should consider getting the pr-msvc-support branch up
to date. With it, I assume most of your problems to vanish. This
branch has patches to support MSVC without a wrapper. While it was
developed for working with MinGW/MSYS as $build and $host, I suppose
it
will still help your quest.
I am surprised that this issue was
not reported before, did I miss something?
This is the very first time I hear somebody using MSVC on GNU/Linux
with
Libtool. So no, I'm not surprised.
The test (make -C mdemo) fails a bit farther anyway:
/bin/sh ./libtool --tag=CC --mode=link cl.exe -g -no-undefined -
module -export-symbols-regex "libfoo2.*" -o libfoo2.la -rpath /tmp/
libtool-2.2.7a/_inst/lib foo2.lo libsub.la
libtool: link: link -dump -symbols .libs/foo2.obj | | /bin/sed
's/.*
//' | sort | uniq > .libs/libfoo2.exp
./libtool: eval: line 967: syntax error near unexpected token `|'
./libtool: eval: line 967: `link -dump -symbols .libs/foo2.obj
| |
/bin/sed 's/.* //' | sort | uniq > .libs/libfoo2.exp'
gmake: *** [libfoo2.la] Error 1
This should all be solved with Peter's patches from the branch.