Support compile on MacosX 10.1.1 (Timothy J. Wood)
This commit is contained in:
parent
cac941b272
commit
54bb59ae99
|
|
@ -153,6 +153,7 @@ AC_MSG_RESULT($EXTRALIBS)
|
|||
# Darwin requires -no-cpp-precomp
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
CPPFLAGS="-no-cpp-precomp"
|
||||
CFLAGS="-no-cpp-precomp"
|
||||
;;
|
||||
esac
|
||||
|
|
@ -204,12 +205,12 @@ case "${host}" in
|
|||
shared="-b"
|
||||
;;
|
||||
|
||||
*-*-darwin1.4)
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
*-*-darwin1.[0123])
|
||||
shared="-bundle -undefined suppress"
|
||||
;;
|
||||
|
||||
*-*-darwin*)
|
||||
shared="-bundle -undefined suppress"
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# 59 Temple Place - Suite 330
|
||||
# Boston, MA 02111-1307, USA
|
||||
#
|
||||
#ident "$Id: Makefile.in,v 1.9 2001/11/12 18:47:32 steve Exp $"
|
||||
#ident "$Id: Makefile.in,v 1.10 2001/11/17 17:57:58 steve Exp $"
|
||||
#
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
|
|
@ -54,7 +54,7 @@ all: iverilog@EXEEXT@
|
|||
|
||||
clean:
|
||||
rm -f *.o lexor.c parse.c parse.h parse.output
|
||||
rm -r cflexor.c cfparse.c cfparse.h cfparse.output
|
||||
rm -f cflexor.c cfparse.c cfparse.h cfparse.output
|
||||
|
||||
O = main.o build_string.o lexor.o parse.o cflexor.o cfparse.o
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
ftp://ftp.gnu.org/gnu/gperf/gperf-2.7.2.tar.gz
|
||||
|
||||
|
||||
3) Configure, build and install the Icarus Verilog sources.
|
||||
3) Configure, build and install the Icarus Verilog sources as normal.
|
||||
|
||||
The only change you need to make here is to use a configure command like:
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# 59 Temple Place - Suite 330
|
||||
# Boston, MA 02111-1307, USA
|
||||
#
|
||||
#ident "$Id: Makefile.in,v 1.3 2001/09/06 04:28:39 steve Exp $"
|
||||
#ident "$Id: Makefile.in,v 1.4 2001/11/17 17:57:58 steve Exp $"
|
||||
#
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
|
|
@ -40,6 +40,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
CPPFLAGS = @CPPFLAGS@ @DEFS@ @PICFLAG@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
all: fpga.tgt
|
||||
|
|
|
|||
|
|
@ -13,6 +13,14 @@ AC_CYGWIN
|
|||
AC_SUBST(CYGWIN)
|
||||
AC_CHECK_HEADERS(malloc.h)
|
||||
|
||||
# Darwin requires -no-cpp-precomp
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
CPPFLAGS="-no-cpp-precomp"
|
||||
CFLAGS="-no-cpp-precomp"
|
||||
;;
|
||||
esac
|
||||
|
||||
# The -fPIC flag is used to tell the compiler to make position
|
||||
# independent code. It is needed when making shared objects.
|
||||
|
||||
|
|
@ -44,12 +52,12 @@ case "${host}" in
|
|||
shared="-b"
|
||||
;;
|
||||
|
||||
*-*-darwin1.4)
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
*-*-darwin1.[0123])
|
||||
shared="-bundle -undefined suppress"
|
||||
;;
|
||||
|
||||
*-*-darwin*)
|
||||
shared="-bundle -undefined suppress"
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# 59 Temple Place - Suite 330
|
||||
# Boston, MA 02111-1307, USA
|
||||
#
|
||||
#ident "$Id: Makefile.in,v 1.5 2001/05/20 17:13:27 steve Exp $"
|
||||
#ident "$Id: Makefile.in,v 1.6 2001/11/17 17:57:58 steve Exp $"
|
||||
#
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
|
|
@ -41,6 +41,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
CPPFLAGS = @CPPFLAGS@ @DEFS@ @PICFLAG@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
all: null.tgt
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# 59 Temple Place - Suite 330
|
||||
# Boston, MA 02111-1307, USA
|
||||
#
|
||||
#ident "$Id: Makefile.in,v 1.7 2001/02/07 22:22:00 steve Exp $"
|
||||
#ident "$Id: Makefile.in,v 1.8 2001/11/17 17:57:58 steve Exp $"
|
||||
#
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
|
|
@ -41,6 +41,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
CPPFLAGS = @CPPFLAGS@ @DEFS@ @PICFLAG@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
all: pal.tgt
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# 59 Temple Place - Suite 330
|
||||
# Boston, MA 02111-1307, USA
|
||||
#
|
||||
#ident "$Id: Makefile.in,v 1.8 2001/05/20 15:09:40 steve Exp $"
|
||||
#ident "$Id: Makefile.in,v 1.9 2001/11/17 17:57:58 steve Exp $"
|
||||
#
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
|
|
@ -41,6 +41,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
CPPFLAGS = @CPPFLAGS@ @DEFS@ @PICFLAG@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
all: stub.tgt
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# 59 Temple Place - Suite 330
|
||||
# Boston, MA 02111-1307, USA
|
||||
#
|
||||
#ident "$Id: Makefile.in,v 1.7 2001/05/20 15:09:40 steve Exp $"
|
||||
#ident "$Id: Makefile.in,v 1.8 2001/11/17 17:57:58 steve Exp $"
|
||||
#
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
|
|
@ -41,6 +41,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
CPPFLAGS = @CPPFLAGS@ @DEFS@ @PICFLAG@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
all: verilog.tgt
|
||||
|
|
|
|||
|
|
@ -13,6 +13,14 @@ AC_CYGWIN
|
|||
AC_SUBST(CYGWIN)
|
||||
AC_CHECK_HEADERS(malloc.h)
|
||||
|
||||
# Darwin requires -no-cpp-precomp
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
CPPFLAGS="-no-cpp-precomp"
|
||||
CFLAGS="-no-cpp-precomp"
|
||||
;;
|
||||
esac
|
||||
|
||||
# The -fPIC flag is used to tell the compiler to make position
|
||||
# independent code. It is needed when making shared objects.
|
||||
|
||||
|
|
@ -44,12 +52,12 @@ case "${host}" in
|
|||
shared="-b"
|
||||
;;
|
||||
|
||||
*-*-darwin1.4)
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
*-*-darwin1.[0123])
|
||||
shared="-bundle -undefined suppress"
|
||||
;;
|
||||
|
||||
*-*-darwin*)
|
||||
shared="-bundle -undefined suppress"
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -9,6 +9,14 @@ AC_CYGWIN
|
|||
AC_EXEEXT
|
||||
|
||||
|
||||
# Darwin requires -no-cpp-precomp
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
CPPFLAGS="-no-cpp-precomp"
|
||||
CFLAGS="-no-cpp-precomp"
|
||||
;;
|
||||
esac
|
||||
|
||||
WIN32=no
|
||||
AC_MSG_CHECKING("for shared library link flag")
|
||||
shared=-shared
|
||||
|
|
@ -21,11 +29,11 @@ case "${host}" in
|
|||
*-*-hpux*)
|
||||
shared="-b"
|
||||
;;
|
||||
*-*-darwin1.4)
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
*-*-darwin1.[0123])
|
||||
shared="-bundle -undefined suppress"
|
||||
;;
|
||||
*-*-darwin*)
|
||||
shared="-bundle -undefined suppress"
|
||||
shared="-bundle -undefined suppress -flat_namespace"
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(shared)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,14 @@ fi
|
|||
AC_SUBST(DLLIB)
|
||||
|
||||
|
||||
# Darwin requires -no-cpp-precomp
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
CPPFLAGS="-no-cpp-precomp"
|
||||
CFLAGS="-no-cpp-precomp"
|
||||
;;
|
||||
esac
|
||||
|
||||
# see how we can give some resource usage stats with -v
|
||||
# Linux does not provide mem stats in rusage, use /proc/self/statm.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue