|
:photos :papers :tutorials :drm :nmicrocoder :daes :dhex :deadline :dettuxx :circdraw :systemc :xf86config :qdslconfig :bootfloppy :6502 :alienware :math winscp.exe putty.exe :impressum |
Unfortunatly, the HDL (hardware description language) SystemC 2.0.1 was not portet to OpenBSD when I wanted to use it. So I decided to patch it myself, and it proved to be quite simple. Just apply this patch:
*** configure.old Tue Mar 12 11:40:37 2002
--- configure.in Fri Sep 24 10:31:50 2004
***************
*** 82,87 ****
--- 82,103 ----
esac
QT_ARCH="sparc-os2"
;;
+ *i386*openbsd*)
+ case "$CXX_COMP" in
+ c++ | g++)
+ EXTRA_CXXFLAGS="-Wall -Di386 -D__i386"
+ DEBUG_CXXFLAGS="-g"
+ OPT_CXXFLAGS="-O3"
+ TARGET_ARCH="openbsd"
+ CC="$CXX"
+ CFLAGS="$EXTRA_CXXFLAGS $OPT_CXXFLAGS"
+ ;;
+ *)
+ AC_MSG_ERROR("sorry...compiler not supported")
+ ;;
+ esac
+ QT_ARCH="iX86"
+ ;;
*linux*)
case "$CXX_COMP" in
c++ | g++)
And run config/distclean and config/bootstrap as mentioned in the INSTALL file.Or just download my patched configure-skripts:systemc_2.0.1_configures.tar.gz (md5sum: f262888f9faec91184cb2543cc674309) |