Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <39DA761E.E0052EA@studserv.uni-stuttgart.de> Date: Wed, 04 Oct 2000 02:13:19 +0200 From: Gerhard DOT Utz AT t-online DOT de (Tilman Utz) Reply-To: tilman DOT utz AT studserv DOT uni-stuttgart DOT de X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: Paul Garceau CC: cygwin Mailing , mingw-users AT lists DOT sourceforge DOT net Subject: Re: -mno-cygwin question References: <39D9F7A7 DOT 13030 DOT 73FFC9 AT localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 0717143775-0001 AT t-dialin DOT net Trying to give more information. You wrote:"In terms of writing programs which do not need the cygwin.dll, that is what mingw is all about." My problem about this was: Of the library I need I just had the headers, some .cpp and a configure script, which created the makefiles (The name of the library is GiNaC, a lib for symbolic computation, see www.ginac.de for more information and if this is of any interest). As I somewhere read that "porting ``Unix-type'' code is not necessarily trivial." I decided to stick to cygwin 'cause it provided the POSIX functionality. I hoped the -mno-cygwin flag would allow to build cygwin.dll independent executables (The institute I work for just uses WinNT...). Unfortunately I didn't read or understand the HowTo I wrote of in my last mail ( http://www.xraylith.wisc.edu/~khan/software/gnu-win32/mno-cygwin-howto.txt ). The author describes that one needs the mingw headers and libs to use the -mno-cygwin and, well, it seems, I don't have these because I built the library with the cygwin gcc. Unfortunately no workaround was given in the HowTo so does anyone else have an idea how to make it work anyway. eg would it be worth trying to build the whole library with the flag, or should I better switch to Mingw32 (If yes has anybody information about porting from POSIX to winpaths etc) or UWIN. Hoping this gave more of the information you needed T. Utz Paul Garceau schrieb: > Cross posted to Mingw users mailing list. > > On 3 Oct 2000, at 16:26, the Illustrious Tilman Utz wrote: > > > Hi all, > > I've got a question concerning the mno-cygwin Flag. > > What I wanted to do: > > I have to write a program for win32 which relies on libraries > > written for gcc (these libraries contain some functions which can > > only be understood by gcc). I finally got the libs working, what > > I'd like to know now is, whether it would be possible to write > > programs not needing the cygwin dll. The mno-cygwin Flag I > > already tried out, but after reading Mumit Khan's HowTo it didn't > > work (maybe I didn't understand him properly, I'm a newbie on > > this issue). > > I'm afraid we need more info. -mno-cygwin, afaik, is supposed > to eliminate dependency on cygwin.dll. It was designed that > way. > > In terms of "Mumit Khans HowTo", there is not enough > information to give an accurate reply. > > In terms of writing programs which do not need the cygwin.dll, > that is what mingw is all about. > > Again, more information is needed. > > Thanks, > > Paul G. > > >So is it possible at all to link programs relying on > > libs as I described in a way, the .exe doesn't need the cygwin > > dll and if the information I gave is not enough, what else do you > > need? > > > > Thanks in advance > > Tilman -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com