diff --git a/configure.in b/configure.in
index 090367eb0..e8b5cbcba 100644
--- a/configure.in
+++ b/configure.in
@@ -204,6 +204,10 @@ case "${host}" in
shared="-b"
;;
+ *-*-darwin1.4)
+ shared="-bundle -undefined suppress -flat_namespace"
+ ;;
+
*-*-darwin*)
shared="-bundle -undefined suppress"
;;
diff --git a/macosx.txt b/macosx.txt
index e68a9cd8b..112ff561d 100644
--- a/macosx.txt
+++ b/macosx.txt
@@ -11,7 +11,16 @@
Unpack this tar file and read the README and Makefile. Install the library according to the instructions. Installation in /usr/local is strongly recommended since otherwise autoconf very likely won't be able to find it.
-2) Configure, build and install the Icarus Verilog sources.
+2) Make sure you have a copy of the 'gperf' tool. This does not come with the Mac OS X 10.1 developer tools, so you probably don't. You can whck with:
+
+ % which gperf
+
+ If not found, grab a gperf source package and install it.
+
+ ftp://ftp.gnu.org/gnu/gperf/gperf-2.7.2.tar.gz
+
+
+3) Configure, build and install the Icarus Verilog sources.
The only change you need to make here is to use a configure command like:
@@ -24,5 +33,5 @@
You can, of course, add other configure options.
-3) Done!
+4) Done!
diff --git a/t-dll.h b/t-dll.h
index 3d2d4cf6c..bfd973915 100644
--- a/t-dll.h
+++ b/t-dll.h
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
-#ident "$Id: t-dll.h,v 1.69 2001/11/01 04:25:31 steve Exp $"
+#ident "$Id: t-dll.h,v 1.70 2001/11/04 05:03:21 steve Exp $"
#endif
# include "target.h"
@@ -34,6 +34,8 @@ typedef void* ivl_dll_t;
#elif defined(HAVE_DL_H)
# include
typedef shl_t ivl_dll_t;
+#else
+# error No DLL stub support for this target.
#endif
struct ivl_design_s {
@@ -582,6 +584,9 @@ struct ivl_statement_s {
/*
* $Log: t-dll.h,v $
+ * Revision 1.70 2001/11/04 05:03:21 steve
+ * MacOSX 10.1 updates.
+ *
* Revision 1.69 2001/11/01 04:25:31 steve
* ivl_target support for cassign.
*
diff --git a/tgt-fpga/configure.in b/tgt-fpga/configure.in
index ef405d558..6aa4f85f0 100644
--- a/tgt-fpga/configure.in
+++ b/tgt-fpga/configure.in
@@ -44,6 +44,9 @@ case "${host}" in
shared="-b"
;;
+ *-*-darwin1.4)
+ shared="-bundle -undefined suppress -flat_namespace"
+ ;;
*-*-darwin*)
shared="-bundle -undefined suppress"
diff --git a/tgt-vvp/configure.in b/tgt-vvp/configure.in
index 654f71e82..fcc2be6e9 100644
--- a/tgt-vvp/configure.in
+++ b/tgt-vvp/configure.in
@@ -44,6 +44,10 @@ case "${host}" in
shared="-b"
;;
+ *-*-darwin1.4)
+ shared="-bundle -undefined suppress -flat_namespace"
+ ;;
+
*-*-darwin*)
shared="-bundle -undefined suppress"
;;
diff --git a/vpip/configure.in b/vpip/configure.in
index ffdfa5328..b21f34d47 100644
--- a/vpip/configure.in
+++ b/vpip/configure.in
@@ -21,6 +21,9 @@ case "${host}" in
*-*-hpux*)
shared="-b"
;;
+ *-*-darwin1.4)
+ shared="-bundle -undefined suppress -flat_namespace"
+ ;;
*-*-darwin*)
shared="-bundle -undefined suppress"
;;
diff --git a/vvp/arith.cc b/vvp/arith.cc
index 2bece7e43..989c71765 100644
--- a/vvp/arith.cc
+++ b/vvp/arith.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
-#ident "$Id: arith.cc,v 1.18 2001/10/31 04:27:46 steve Exp $"
+#ident "$Id: arith.cc,v 1.19 2001/11/04 05:03:21 steve Exp $"
#endif
# include "arith.h"
@@ -25,7 +25,10 @@
# include
# include
# include
+# include
+#ifdef HAVE_MALLOC_H
# include
+#endif
void vvp_arith_::output_x_(vvp_ipoint_t base, bool push, unsigned val)
{
@@ -505,6 +508,9 @@ void vvp_shiftr::set(vvp_ipoint_t i, bool push, unsigned val, unsigned)
/*
* $Log: arith.cc,v $
+ * Revision 1.19 2001/11/04 05:03:21 steve
+ * MacOSX 10.1 updates.
+ *
* Revision 1.18 2001/10/31 04:27:46 steve
* Rewrite the functor type to have fewer functor modes,
* and use objects to manage the different types.
diff --git a/vvp/functor.cc b/vvp/functor.cc
index 74ed49e9b..526dee701 100644
--- a/vvp/functor.cc
+++ b/vvp/functor.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
-#ident "$Id: functor.cc,v 1.30 2001/11/01 03:00:19 steve Exp $"
+#ident "$Id: functor.cc,v 1.31 2001/11/04 05:03:21 steve Exp $"
#endif
# include "functor.h"
@@ -27,7 +27,10 @@
# include "debug.h"
# include
# include
+# include
+#ifdef HAVE_MALLOC_H
# include
+#endif
/*
* Functors are created as the source design is read in. Each is
@@ -186,6 +189,9 @@ void extra_inputs_functor_s::set(vvp_ipoint_t i, bool push,
/*
* $Log: functor.cc,v $
+ * Revision 1.31 2001/11/04 05:03:21 steve
+ * MacOSX 10.1 updates.
+ *
* Revision 1.30 2001/11/01 03:00:19 steve
* Add force/cassign/release/deassign support. (Stephan Boettcher)
*