[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
binutils 2.10.1, Solaris 8, SPARCWorks CC 5.0
From: |
Santeri Paavolainen |
Subject: |
binutils 2.10.1, Solaris 8, SPARCWorks CC 5.0 |
Date: |
Thu, 21 Dec 2000 14:49:21 +0200 (EET) |
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().
--
address@hidden I have become death, destroyer of the worlds.
binutils-2.10.1-sol8-cc.patch
Description: Text document
- binutils 2.10.1, Solaris 8, SPARCWorks CC 5.0,
Santeri Paavolainen <=