Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Thu, 5 Oct 2000 16:07:18 -0400
To: cygwin Mailing <cygwin@sources.redhat.com>
Subject: Re: -mno-cygwin question
Message-ID: <20001005160718.A22000@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin Mailing <cygwin@sources.redhat.com>
References: <20001004142446.6992.qmail@web124.yahoomail.com> <39DCDC6C.63D69792@studserv.uni-stuttgart.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <39DCDC6C.63D69792@studserv.uni-stuttgart.de>; from Gerhard.Utz@t-online.de on Thu, Oct 05, 2000 at 09:54:20PM +0200

On Thu, Oct 05, 2000 at 09:54:20PM +0200, Tilman Utz wrote:
>Hi,
>thanks for the PW32 hint, looks quite good.
>Anyway, I made another attempt with the -mno-cygwin flag, I tried to compile the
>whole library wirh the flag (ok,ok, I should have done this earlier, my fault)
>first of all (as described in the HowTo I wrote of):
>export CPPFLAGS="-I/usr/local/mingw/include -mno-cygwin"
>export CXXFLAGS="-I/usr/local/mingw/include -mno-cygwin"
>export LDFLAGS="-L/usr/local/mingw/include -mno-cygwin"
>then ./configure, went ok
>then make
>after a while of compiling without problems, I got the following error
>c++ -I/usr/local/mingw/include -mno-cygwin -I/usr/local/mingw/include -mno-cygwi
>n -I../include -I../include -I../include -I../include -I./base -I../include -I..
>/include -I./base -Ibase -c ./base/random/cl_random_from.cc
>./base/random/cl_random_from.cc: In method `cl_random_state::cl_random_state()':
>./base/random/cl_random_from.cc:84: implicit declaration of function `int getpid
>(...)'
>which I'm not 'used' to (I used to encounter undefined reference errors in the
>past...)
>Without the above compilerflags, i.e. without -mno-cygwin I don't get any errors,
>are there any ideas why?

Because the mingw header files don't define getpid()?

There is a mailing list for mingw (what you get when you use -mno-cygwin).  You
would probably be better served by asking your mingw questions there.  If you
go to the mingw home page at http://www.mingw.org/ you should be able to find it.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

