On 03/25/2013 08:02 PM, Fabrizio Gennari wrote:
Il 25/03/2013 00:00, Ian Lance Taylor ha scritto:

What failed without that patch?

In file included from ../../../gcc-4.80/libbacktrace/alloc.c:39:0:
../../../gcc-4.80/libbacktrace/internal.h:141:11: error: unknown type name 
‘off_t’
off_t offset, size_t size,
^
make[3]: *** [alloc.lo] Errore 1
make[3]: uscita dalla directory 
"/home/fabrizio/dev/djgpp/cross/gcc2/i586-pc-msdosdjgpp/libbacktrace"

internal.h (included by libbacktrace/alloc.c) uses off_t, which is not declared 
unless sys/types.h
is included

BTW, I am using beta/v2/djcrx204.zip for basic DJGPP headers and libraries, so 
no version 2.03
involved


That's also an ancient version. I have newer CVS version build at:

http://ap1.pp.fi/djgpp/djdev/djgpp/20130306/

(2013-Mar-06 CVS version, built in Linux using cross-compiler).

With version from beta/v2/djcrx204.zip one would run into next trouble when 
building
libstdc++-v3: both time.h and xmintrin86.h included and time.h contains 
incompatible
_rtdsc(). Fixed in later version by using gcc own _rdtsc with gcc-4.8+.

Andris


Reply via email to