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: Ian Lance Taylor <iant at google dot com>
- To: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>
- Cc: DJ Delorie <dj at redhat dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Sun, 24 Mar 2013 16:00:54 -0700
- 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>
On Sun, Mar 24, 2013 at 10:51 AM, Fabrizio Gennari
<fabrizio.ge@tiscali.it> wrote:
> Il 24/03/2013 18:48, Fabrizio Gennari ha scritto:
>
>> Il 23/03/2013 18:07, DJ Delorie ha scritto:
>>>
>>> The DJGPP build of gcc 4.8.0 was just uploaded, it might have some
>>> patches that haven't been committed upstream yet.
>>
>> Thank you DJ. I downloaded beta/v2gnu/gcc480s.zip from a mirror, and that
>> compiles. And, indeed, the file gcc/config/i386/djgpp.h is different from
>> the one in the official gcc-4.8.0.tar.bz2, meaning that some DJGPP patches
>> are not present upstream.
>
> 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"
What failed without that patch?
Ian