[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binutils 2.10.1, Solaris 8, SPARCWorks CC 5.0
From: |
Nick Clifton |
Subject: |
Re: binutils 2.10.1, Solaris 8, SPARCWorks CC 5.0 |
Date: |
Thu, 21 Dec 2000 10:51:05 -0800 |
Hi Santeri,
: The changes in the attached patch were necessary to get binutils 2.10.1 to
: compile on
:
: uname: SunOS kiulu 5.8 Generic sun4u sparc SUNW,Ultra-5_10
: cc -V: cc: WorkShop Compilers 5.0 98/12/15 C 5.0
:
: system with
:
: ./configure --enable-targets=all
:
: Three main things:
:
: - Compiler requires that a statement (even empty) must be
: after labels. Eg.
:
: foo:
: }
:
: will fail. It must be written like:
:
: foo:
: ;
: }
:
: - Void arithmetic is a no-no since apparently sizeof(void *) == 0
: (changed to do calculations on unsigned char pointers)
:
: - Some files use alloca() without including <alloca.h> --
: Solaris alloca.h defines alloca() as __builtin_alloca().
Thanks very much for supplying these patches. I have applied them to
the mainline sources (rather than the 2.10.1 sources) so that they
will be in the next major release of binutils.
Cheers
Nick