This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.8.0 does not compile for DJGPP
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Andris Pavenis <andris dot pavenis at iki dot fi>
- Cc: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>, gcc at gcc dot gnu dot org
- Date: Mon, 25 Mar 2013 10:26:07 -0400
- Subject: Re: GCC 4.8.0 does not compile for DJGPP
- References: <514DCB95 dot 4030307 at tiscali dot it> <201303231707 dot r2NH7th3002588 at greed dot delorie dot com> <514F3C84 dot 5090904 at tiscali dot it> <514F3D0D dot 6010709 at tiscali dot it> <514FD296 dot 9070501 at iki dot fi>
On Mon, Mar 25, 2013 at 12:29 AM, Andris Pavenis <andris.pavenis@iki.fi> wrote:
>> Forgot to say that I also had to apply this patch
>>
>> --- ../gcc-4.8.0/libbacktrace/alloc.c 2013-01-14 19:17:30.000000000
>> +0100
>> +++ ../gcc-4.80/libbacktrace/alloc.c 2013-03-24 18:07:11.995891959
>> +0100
>> @@ -34,6 +34,7 @@
>>
>> #include <errno.h>
>> #include <stdlib.h>
>> +#include <sys/types.h>
>>
>> #include "backtrace.h"
>> #include "internal.h"
>>
>
> This fix is required for current stable version (2.03) of DJGPP only. I only
> built for
> development version 2.0.4 (really recent once from CVS) which does not need
> this fix.
>
> Native build for DJGPP v2.03 fails due to DJGPP own problems and was left
> out
> for that reason and because of DJGPP v2.03 is already too old.
I believe that Ian is asking what *specific* declaration is missing
that prevents DJGPP from building and is supplied by including that
header file.
Thanks, David