delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/27/22:30:30

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: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "'Steven Edwards'" <steven_ed4153 AT yahoo DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: Problem with port of WINE dlls to mingw using cygwin
Date: Tue, 28 May 2002 09:40:49 +1000
Message-ID: <000101c205d7$ee83d580$0200a8c0@lifelesswks>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
In-Reply-To: <20020527233438.25056.qmail@web21107.mail.yahoo.com>
Importance: Normal
X-OriginalArrivalTime: 27 May 2002 23:40:48.0845 (UTC) FILETIME=[EDF96FD0:01C205D7]

Yes, just agging --target and --host doesn't make configure
cross-compile. It tries to cross copile, but if it can't find
'i686-pc-mingw-gcc' then it uses 'gcc' and hopes that it is able to
cross-compile :}.

What you need to do it add 'CC=gcc -mno-cygwin' 'CXX=g++ -mno-cygwin' to
your configure line or install a real cross-compiler.
Rob

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Steven Edwards
Sent: Tuesday, 28 May 2002 9:35 AM
To: cygwin AT cygwin DOT com
Subject: Problem with port of WINE dlls to mingw using cygwin


Hola,
I have been working with wine-dev to port WINE to the
Mingw platform for the ReactOS project. Currently we
can build 90% of WINE dlls and programs under a cygwin
host with no problems.

The problem I am having is when I go to use the
dlls/programs they are still being linked to
cygwin1.dll even though they do not appear to be
importing anything from cygwin1.dll

This is the configure command I am using.
./configure --host=mingw --target=mingw --build=mingw CFLAGS="-D_WINDOWS
-D__MIGNW__ -mno-cygwin -fnative-struct" CCFLAGS="-D_WINDOWS -D__MIGNW__
-mno-cygwin -fnative-struct"

Everything seems to build and run fine but when I go
to use a tool/program/dll on a windows98 or NT box
without cygwin it throws a exception about missing
cygwin1.dll. Anyone got any ideas about why it is
still doing this?

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
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/



--
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