delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/14/14:05:05

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
Message-ID: <009b01c0dca0$428897e0$910c07d5@andreas>
From: "Andreas Eibach" <a DOT eibach AT gmx DOT net>
To: "Thai Thanh Ha" <thaiha AT psv DOT com DOT vn>
Cc: <cygwin AT cygwin DOT com>
References: <69B9D35DE281D31194150008C73328E0BA6F23 AT MAIL>
Subject: Re: I want to subscribe this mailing list. How to do it?
Date: Mon, 14 May 2001 20:03:49 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

----- Original Message -----
From: "Thai Thanh Ha" <thaiha AT psv DOT com DOT vn>
To: <cygwin AT cygwin DOT com>
Sent: Saturday, May 12, 2001 5:25 AM
Subject: I want to subscribe this mailing list. How to do it?


>
>   I don't know how to subscribe this mailing list.
>
>   I have another question. After dowloading and installing using
setup.exe.
> Now I want to compile a normal C program using gcc. But I don't know how
to
> do it(I'm using Windows NT4.0 SP6). Please help me. Should I do something
> before using gcc? . This is the error
>
> -----------------
> //MYCOMPUTER/.../home $ gcc test.c
> /cygdrive/c/TEMP/ccwii1hm.o(.text+0x1c):test.c: undefined reference to
> `println'
>
> collect2: ld returned 1 exit status
> //MYCOMPUTER/.../home $

There's no 'println' in C ;-), 'print' sounds like BASIC style or Rexx (?)
In C, you have to use printf or fprintf. Please read the manual pages for
these functions to get information about the usage.

Andreas


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