delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/25/14:09:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: <horizonx AT noos DOT fr>
To: <cygwin AT cygwin DOT com>
Subject: RE: Expectations for Windows Programmers
Date: Sun, 25 Aug 2002 20:09:22 +0200
Message-ID: <FOEILNFHGFOEGELMNHDMCEABCEAA.horizonx@noos.fr>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3D66DC7F.9090306@cotagesoft.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

Thanks Joshua and Shankar for the info.

Considering the wealth of source code available in the UNIX/LINUX community,
I felt it was newsworthy that a basic tool set is available for possibly
automating the conversion of open source libraries.

Within the OS survival game, this would amount to deep incursion into "enemy
territory".

Can you give any ballpark figure of the amount time it would take to convert
a "typical" library right now?

Thanks,

Terry

>
>
> horizonx AT noos DOT fr wrote:
> > I am not a C programmer, but it sounds like I should be able to
> use gcc and
> > dlltool to build a Wintel DLL.
> >
> > It is unclear from reading the Cygwin User's Guide if I will actually be
> > able to link this DLL with other programming languages outside
> the Cygwin
> > environment.
>
> It is theoretically possible, though you will have to thoroughly
> understand the toolchain and DLL mechanisms.
>
> You can build a cygwin-independent object file by compiling with
> -mno-cygwin. You may need the "mingw" package to get windows headers for
>   this.
>
> Once you do this, you should be able to build a regular windows DLL, and
> even generate .LIB export stubs for this DLL. However, I must confess
> that I don't have references and man pages handy. Much of this
> "knowledge" comes from when I ported the toolchain to an experimental
> platform that is now defunct.
>
> --
> Shankar.
>
>
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019