www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2007/08/04/04:28:52

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Message-ID: <46B431E1.1080803@iki.fi>
Date: Sat, 04 Aug 2007 10:59:29 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 2.0.0.5 (X11/20070719)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: fseeko and ftello
References: <200708032234 DOT 30007 DOT juan DOT guerrero AT gmx DOT de>
In-Reply-To: <200708032234.30007.juan.guerrero@gmx.de>
X--MailScanner-Information: Please contact the ISP for more information
X--MailScanner: Found to be clean
X--MailScanner-From: andris DOT pavenis AT iki DOT fi
X-Spam-Status: No
Reply-To: djgpp-workers AT delorie DOT com

Juan Manuel Guerrero wrote:
> While trying to port m4-1.4.10 I have noticed that the configuration script
> founds a certain amount of missing functions.  The replacement functions
> supplied by the gnulib library require some times a lot of djgpp specific
> adjustment that leads me to the conclusion that those changes probably will
> never be accepted by the gnulib maintainers.  So here is an attempt to fix
> the  issue partially in djgpp itself.  Here is a small patch to implement
> fseeko() and ftello().
> fseeko() and ftello() are both declared in stdio.h an require off_t, so I
> have replaced the inclusion of djtypes.h with types.h in stdio.h.  If this
> is not wanted/correct, please let me know how to solve the issue.

Something similar was already suggested by  Markus F.X.J. Oberhumer 
together with other patches:

http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2006/06/12/06:28:05

I used Marku's patches when built last version of RPM to be used with 
Linux-to-DJGPP cross-compiler:
	http://ap1.pp.fi/djgpp/djdev/rpms/djcrx-2.04pre_20070723-7.src.rpm

(sorry but I have not updated web page yet, only files are there). At 
least all built OK using gcc-4.2.0

Andris


- Raw text -


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