cb6a8938ed
progress, largely based on the gcc port in ports/lang/gcc/4.2. Requested by jsg@. It's somewhat usable on i386 (shared lib versions not yet properly under control). Build on amd64 currently fails with -fPIC problems. -- -- lvm-gcc is the LLVM C front end. It is a modified version of gcc that compiles C/C++/ObjC programs into native objects, LLVM bitcode or LLVM assembly language, depending upon the options. By default, llvm-gcc compiles to native objects just like GCC does. If the -emit-llvm option is given then it will generate LLVM bitcode files instead. If -S (assembly) is also given, then it will generate LLVM assembly. Being derived from the GNU Compiler Collection, llvm-gcc has many of gcc's features and accepts most of gcc's options. It handles a number of gcc's extensions to the C programming language. <sthen@zephyr:/usr/ports/mystuff/lang/llvm-gcc4:9>$CVS: ----------------------------------------------------------------------
26 lines
647 B
Plaintext
26 lines
647 B
Plaintext
$OpenBSD: patch-gcc_config_m68k_openbsd_h,v 1.1.1.1 2009/06/22 22:37:32 sthen Exp $
|
|
--- gcc/config/m68k/openbsd.h.orig Wed Jul 11 22:32:42 2007
|
|
+++ gcc/config/m68k/openbsd.h Mon Jun 22 00:53:55 2009
|
|
@@ -44,16 +44,19 @@ Boston, MA 02110-1301, USA. */
|
|
|
|
/* This must agree with <machine/ansi.h> */
|
|
#undef SIZE_TYPE
|
|
-#define SIZE_TYPE "unsigned int"
|
|
+#define SIZE_TYPE "long unsigned int"
|
|
|
|
#undef PTRDIFF_TYPE
|
|
-#define PTRDIFF_TYPE "int"
|
|
+#define PTRDIFF_TYPE "long int"
|
|
|
|
#undef WCHAR_TYPE
|
|
#define WCHAR_TYPE "int"
|
|
|
|
#undef WCHAR_TYPE_SIZE
|
|
#define WCHAR_TYPE_SIZE 32
|
|
+
|
|
+#undef WINT_TYPE
|
|
+#define WINT_TYPE "int"
|
|
|
|
/* Storage layout. */
|
|
|