delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/05/13:06:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 5 Apr 2001 12:57:10 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Compilation error
Message-ID: <20010405125710.A30832@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Cygwin <cygwin AT cygwin DOT com>
References: <019d01c0bdec$c9dfe900$99face88 AT dcu DOT ie>
Mime-Version: 1.0
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 AT 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

- Raw text -


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