Itanium support for mt tools

Douglas Johnson <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Here is a patch for gm-1.4 to support building of the mt tools on Itanium.

diff -N -r -u ../../gm-cvs/mt/config/arch.sh config/arch.sh
--- ../../gm-cvs/mt/config/arch.sh	Tue Mar 20 13:29:11 2001
+++ config/arch.sh	Tue Mar 20 14:32:30 2001
@@ -54,6 +54,9 @@
 	i[3456]86 | i86pc)
 		machine=intel
 		;;
+	ia64)
+		machine=itanium
+		;;
 	alpha)
 		machine=dec
 		;;
diff -N -r -u ../../gm-cvs/mt/config/make.itanium_linux config/make.itanium_linux
--- ../../gm-cvs/mt/config/make.itanium_linux	Wed Dec 31 19:00:00 1969
+++ config/make.itanium_linux	Tue Mar 20 14:40:30 2001
@@ -0,0 +1,30 @@
+warnings = -Wall
+
+compiler = c++ -g  -x c++ $(warnings) -DGM_CPU_ia64 
+
+evil_compiler = c++ -g -x c++ $(warnings) -DGM_CPU_ia64
+
+ifndef gm_dir
+gm_dir = ../..
+endif
+
+idirs = -I$(gm_dir)/include  -I$(gm_dir)/drivers/linux/gm -I../deadlock -I../ping
+gm_libs = $(gm_dir)/binary/lib/libgm.a
+
+
+ar = ar cru
+
+build_syntax =  -c $< -o $@
+ar_syntax = $@ $^
+link_syntax = -o $@
+
+linker = c++ -g
+linker_options = -lm
+ranlib = ranlib
+
+#  -DEXPENSIVE_CHECKS -DBUSY_WAIT
+defines =  -DMT_$(arch) -DINSIST -O2
+
+jdk = /usr/local/jdk
+swing = /usr/local/jdk/swing
+sep = :
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.