delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/14/16:30:39

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: Wed, 14 Feb 2001 16:25:36 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: amadritsch AT datacomm DOT ch
Subject: Re: Newsgroup?
Message-ID: <20010214162536.E18567@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, amadritsch AT datacomm DOT ch
References: <3A8AEDAE DOT D92C0C26 AT datacomm DOT ch>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A8AEDAE.D92C0C26@datacomm.ch>; from amadritsch@datacomm.ch on Wed, Feb 14, 2001 at 09:42:23PM +0100

On Wed, Feb 14, 2001 at 09:42:23PM +0100, Andreas Madritsch wrote:
>Is there a newsgroup, where I can post questions to cygwin?

The cygwin web page is http://cygwin.com/ .  Any information on what is
available is there.

>I have problems compiling code with cygwin, which can be compiled with
>djgpp without problems. The error messages looks
>like:
>
>timers.c: In function `alarmhandler':
>timers.c:538: `SIGALRM' undeclared (first use in this function)
>timers.c: In function `update_async':
>timers.c:546: storage size of `t' isn't known
>timers.c:553: `SIGALRM' undeclared (first use in this function)
>timers.c:555: `ITIMER_REAL' undeclared (first use in this function)
>timers.c:560: storage size of `t' isn't known
>
>It seems that the headers signal.h and time.h aren't included properly.
>I could add the following code extracted from signal.h and time.h to my
>source:
>
>#define SIGALRM 14
>#define ITIMER_REAL 0
>struct  itimerval {
>  struct  timeval it_interval;
>  struct  timeval it_value;
>}t;
>
>But the binary created then doesn't work.

ITIMER_REAL is defined in /usr/include/sys/time.h.

>btw. how can I generate binaries which don't use dll's from cygwin?

You can't.  Sorry.

Btw, if you use Cygwin in an application, the application automatically
becomes free software.  Just so you know.

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