mirror of https://github.com/ctm/syn68k.git
Fixed to build on Fedora 11 and Fedora 12.
This commit is contained in:
parent
b9044353de
commit
655e404e13
|
@ -1,3 +1,3 @@
|
||||||
# $Id: Makefile.am 61 2004-12-21 23:44:50Z ctm $
|
# $Id: Makefile.am 61 2004-12-21 23:44:50Z ctm $
|
||||||
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
SUBDIRS = syngen runtime test profile
|
SUBDIRS = syngen runtime test profile
|
||||||
|
|
9
README
9
README
|
@ -42,8 +42,13 @@ can be found during Executor's build. The easiest way is with
|
||||||
make install
|
make install
|
||||||
|
|
||||||
To compile a 32-bit syn68k on an x86_64 system, make sure you have all
|
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
|
the 32-bit libraries you need:
|
||||||
glibc-devel.i386 and libgcc.i386) then try this hack
|
|
||||||
|
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
|
./autogen.sh
|
||||||
CC='gcc -m32' ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
|
CC='gcc -m32' ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
set -o errexit -o nounset -o noclobber
|
set -o errexit -o nounset -o noclobber
|
||||||
|
|
||||||
|
libtoolize
|
||||||
aclocal
|
aclocal
|
||||||
autoheader
|
autoheader
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
AC_INIT(syn68k, 1.0, ctm@ardi.com)
|
AC_INIT(syn68k, 1.0, ctm@ardi.com)
|
||||||
|
LT_INIT
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
|
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_SRCDIR([syngen/main.c])
|
AC_CONFIG_SRCDIR([syngen/main.c])
|
||||||
AC_CONFIG_HEADERS([include/config.h])
|
AC_CONFIG_HEADERS([include/config.h])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
AC_PROG_RANLIB
|
|
||||||
AM_PROG_AS
|
AM_PROG_AS
|
||||||
|
|
||||||
AC_CHECK_PROG([PERL], [perl], [perl])
|
AC_CHECK_PROG([PERL], [perl], [perl])
|
||||||
|
|
Loading…
Reference in New Issue