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

Date: Thu, 15 Feb 1996 17:54:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
Cc: Djgpp <djgpp AT delorie DOT com>
Subject: Re: ioctl missing

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. 

> Alexander V. Lukya's <lav AT video DOT yars DOT free DOT net> suggestion to simply erase
> the offending line is Alexandrian in its directness.  It works, but leaves
> me somehow uneasy.

I don't like such ``solutions'' either.  If one just wants working
binaries, one can download them from SimTel.  But if the purpose is to
make Fileutils compatible with DJGPP (and maybe even submit the required
changes to FSF, so that others will benefit from the port), then it isn'a
a solution at all. 

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

- Raw text -


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