libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for C++ under Win32


From: Gary V . Vaughan
Subject: Re: Support for C++ under Win32
Date: Sun, 1 Apr 2001 13:24:19 +0100

On Friday 30 March 2001  3:54 am, Kevin Atkinson wrote:
> I was wondering what the status is for supporting C++ on Win32 in the
> multi-language branch of libtool.

The g++ support for win32 should not be any worse than for other libtool 
supported platforms.

>  In particular I would like to know how
> possible it is to build a shared library (dll) with the Win32 version of
> Gcc (either, cygwin or mingw).

It is a little torturous, but seems to work most of the time.  Take a look at 
CVS m4, or libsnprintfv (on my homepage) for an idea of how to build libtool 
dlls.

>  I also need ltdl to work properly under
> Win32 so that I can dynamically load a dll at run time so that Pspell will
> work under Win32.

Apart from brokenness in the DLL design, this also more or less works.  It is 
easy if you build your project from scratch knowing you want DLL builds, but 
becomes difficult quite quickly if the package author assumed ELF type libs.

There is a chapter about all of thes issues in the Goat book, 
http://sources.redhat.com/autobook/ by the way.

> Thanks in advance.

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]