[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Libtool HEAD on Windows.
From: |
Duft Markus |
Subject: |
RE: Libtool HEAD on Windows. |
Date: |
Tue, 26 Feb 2008 08:07:16 +0100 |
Hi!
Duft Markus <> wrote:
> Hi!
> [...]
>
> Attached is both a log for configure/build and the complete testsuite,
> and a patch against current HEAD.
Has anybody looked into this yet? I'm afraid this won't apply anymore
when it's finally reviewed.
Cheers, Markus
>
> 2008-02-12 Markus Duft <address@hidden>
>
> Implemented support for *-winnt*, which is the "parity"
> compiler for windows (http://www.sf.net/projects/parity):
>
> * libltdl/config/ltmain.m4sh: recognize winnt as Windows OS,
> specially handle parity compiler (force C++), don't handle
> .exe extensions like on cygwin and mingw, but like on UNIX.
> Disable the use of reloadable objects (not supported).
> * libltdl/libltdl/lt_system.h: Only define R_OK if it's not
> allready defined elsewhere on Windows.
> * libltdl/loaders/dlopen.c: Don't use RTLD_GLOBAL with parity.
> * libltdl/loaders/loadlibrary.c: In case LoadLibrary is used
> instead of dlopen, convert paths to windows-style for the
> Windows API's (dlopen does this otherwise).
> * libltdl/m4/argz.m4: Windows (parity) has no argz support.
> * libltdl/m4/libtool.m4: Added winnt support.
> * libltdl/m4/ltdl.m4: On winnt dlopen opens deplibs.
> * tests/configure-iface.at: Fix output for testsuite.
> * tests/ctor.at: Use dllimport for correct link.
> * tests/destdir.at: Add $EXEEXT to output filenames.
> * tests/duplicate_conv.at: Don't execute the part of the test
> that relies on reloadable objects (not supported).
> * tests/export.at: Need explicit export of uninitialized data,
> use the LIBA_SCOPE define instead of extern.
> * tests/link-order.at: Use dllimport for correct link.
> * tests/link-order2.at: XFAIL on winnt. Windows has no RTL.
> * tests/lt_dladvise.at: Fix output for testsuite. Use
> dllimport for correct link. Don't test undefined symbols.
> * tests/lt_dlexit.at: Use dllimport for correct link.
> * tests/need_lib_prefix.at: Fix output for testsuite.
> * tests/stresstest.at: Need explicit export of uninitialized
> data, use the LIBA_SCOPE define instead of extern. link the
> main-static object only when -static is given.
> * tests/template.at: Add dependent libs to link line. There
> is no support for undefined symbols on winnt.
> * tests/testsuite.at: the *_EXEC_CHECK macros know of $EXEEXT
> * tests/demo/foo.c tests/demo/foo.h tests/depdemo/l1/l1.c
> tests/depdemo/l1/l1.h tests/depdemo/l2/l2.c
> tests/depdemo/l2/l2.h tests/depdemo/l3/l3.c
> tests/depdemo/l3/l3.h tests/depdemo/l4/l4.c
> tests/depdemo/l4/l4.h: Use dllimport for correct link.
> * tests/mdemo/foo1.c tests/mdemo/foo2.c: Initialize global
> data, otherwise dllexport would be required.
> * tests/pdemo/foo.h tests/pdemo/longer_file_name_foo.c: Use
> dllimport for correct link.
>
> I hope that's everything you need, otherwise just tell me.
>
> Cheers, Markus