Fixed to build on Fedora 11 and Fedora 12.

This commit is contained in:
Clifford T. Matthews 2009-11-27 12:31:18 -07:00
parent b9044353de
commit 655e404e13
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,3 @@
# $Id: Makefile.am 61 2004-12-21 23:44:50Z ctm $
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = syngen runtime test profile

9
README
View File

@ -42,8 +42,13 @@ can be found during Executor's build. The easiest way is with
make install
To compile a 32-bit syn68k on an x86_64 system, make sure you have all
the 32-bit libraries you need (on Fedora 10 I needed to install
glibc-devel.i386 and libgcc.i386) then try this hack
the 32-bit libraries you need:
On Fedora 10 I needed to install glibc-devel.i386 and libgcc.i386
On Fedora 11 I needed glibc-devel.i586 and libgcc.i586
On Fedora 12 I needed the .i686 versions of those packages
Once you have those install, try this:
./autogen.sh
CC='gcc -m32' ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu

View File

@ -4,6 +4,7 @@
set -o errexit -o nounset -o noclobber
libtoolize
aclocal
autoheader
automake --add-missing

View File

@ -1,13 +1,14 @@
AC_INIT(syn68k, 1.0, ctm@ardi.com)
LT_INIT
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([syngen/main.c])
AC_CONFIG_HEADERS([include/config.h])
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_RANLIB
AM_PROG_AS
AC_CHECK_PROG([PERL], [perl], [perl])