www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/15/11:28:38

Date: Thu, 15 Feb 1996 11:14:30 -0500 (EST)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Djgpp <djgpp AT delorie DOT com>
Subject: Re: ioctl missing

On Thu, 15 Feb 1996, Eli Zaretskii wrote:

> 
> On Thu, 15 Feb 1996, Frank Donahoe wrote:
> 
> > I have tried this by inserting -D_POSIX_SOURCE in CFLAGS.  There were other
> > problems,  the compilation of libfut.a failed after a series of nasty 
> > warnings and one fatal error.
> 
> Did you use <sys/config.h> from v2.0 when compiling with -D_POSIX_SOURCE? 
> If not, please do.  If you did, you will need to see what is it that
> causes those problems, solve them in a similar way and add relevant
> #define's or #undef's to src/config.h.  If you cannot figure out what's
> wrong in any particular case and how to fix it, you can always post here
> specific questions about specific problems.  I compiled Fileutils 3.12
> with an early beta of v2.0 and don't remember having any unusual problems. 
> 
> > Compiled this way, with -O2, the fourteen files come in at 860.5 Kb. 
> > This is an average of 2.5 Kb per file larger than the September compilation.
> > In the absence of a test suite, the best I can do is use them 'til problems
> > develop.  Regards, Frank.
> 
> What version of DJGPP/GCC did you compile it with in September?  Did you
> remember to strip the executables of the debugging symbols (then and now)? 
> 
Yes to all the questions.  The version was almost certainly V2 beta 3 with
a small chance that it was beta 2.  I didn't mount beta 4 or 5 but went 
directly to V2.0.  I'll look more carefully at the error messages with
the -D_POSIX_SOURCE set.  This setting will bypass the bulk of 
<sys/config.h>!  There may be some flags within that block of code which
should be moved outside.  Regards, Frank 

- Raw text -


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