eda
NetBSD
展開した中に INSTALL という名前の譜があり、その中に設置方法が書いてある。
2.2.0
For systemc-2.2.0.tar.gz, It is rather easy to compile
355 2009-11-12 11:11 cd /export/local-src/
tar zxf $DISTFILES/systemc-2.2.0.tar.gz
356 2009-11-12 11:11 cd systemc-2.2.0/
357 2009-11-12 11:11 mkdir objdir
358 2009-11-12 11:11 cd objdir/
359 2009-11-12 11:11 setenv CXX g++
361 2009-11-12 11:12 emacs ../configure.in
362 2009-11-12 11:13 (cd ../;autoconf)
363 2009-11-12 11:13 ../configure
364 2009-11-12 11:14 gmake
366 2009-11-12 11:14 aclocal --version
367 2009-11-12 11:15 sudo ln -s /usr/pkg/bin/aclocal /usr/pkg/bin/aclocal-1.6
369 2009-11-12 11:15 sudo ln -s /usr/pkg/bin/automake /usr/pkg/bin/automake-1.6
393 2009-11-12 11:23 gmake
394 2009-11-12 11:30 gmake debug
395 2009-11-12 11:30 sudo gmake install
396 2009-11-12 11:31 gmake check
Changes required: (at 361 step above)
--- configure.in.orig 2006-12-16 05:31:28.000000000 +0900
+++ configure.in 2009-11-12 15:28:27.000000000 +0900
@@ -128,7 +128,7 @@
AS=as
QT_ARCH="x86_64"
;;
- *linux*)
+ *netbsd*|*linux*)
case "$CXX_COMP" in
c++ | g++)
EXTRA_CXXFLAGS="-Wall"
2.0.1
/usr/include/sys/sched.h:
ttyq4:makoto@lets 17:12:50/060314(...include/sys)> diff -u sched.h{-*,}
--- sched.h-types.h 2005-12-27 03:41:36.000000000 +0900
+++ sched.h 2006-03-14 16:13:13.000000000 +0900
@@ -75,6 +75,7 @@
#ifndef _SYS_SCHED_H_
#define _SYS_SCHED_H_
+#include <sys/types.h>
#include <sys/featuretest.h>
#if defined(_KERNEL_OPT)
ttyq4:makoto@lets 17:13:05/060314(...include/sys)>
/usr/include/sys/types.h:
100 #if 1 // defined(_NETBSD_SOURCE)
101 typedef unsigned char u_char;
102 typedef unsigned short u_short;
103 typedef unsigned int u_int;
104 typedef unsigned long u_long;
|