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
Date: Thu, 5 Apr 2001 12:57:10 -0400
From: Christopher Faylor <cgf@redhat.com>
To: Cygwin <cygwin@cygwin.com>
Subject: Re: Compilation error
Message-ID: <20010405125710.A30832@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Cygwin <cygwin@cygwin.com>
References: <019d01c0bdec$c9dfe900$99face88@dcu.ie>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <019d01c0bdec$c9dfe900$99face88@dcu.ie>; from Latyr.Faye2@mail.dcu.ie on Thu, Apr 05, 2001 at 05:23:45PM +0100

On Thu, Apr 05, 2001 at 05:23:45PM +0100, Latyr Jean-Luc FAYE wrote:
>Hi
>
>I hope that it is the right place to ask my question.
>I am trying to compile a C program under Cygwin with gcc but I got errors.
>My configuration is :
>Laptop Compaq serie 1200 Model 12XL222
>56Mo RAM (64-8 for Video)
>HD 6Go split in 2 partitions 4Go and 2Go
>OS : Windows 98 SE
>My file is in the 2Go partition and Cygwin as well
>
>Can somebody tell me what's wrong.
>
>Here is the error
>latyr@LATYR /cygdrive/d/allprogs
>$ gcc -lm -otest.exe image1.c

Get rid of the -lm.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

