Looks like tcsh port for hurd is still unavailable. On the other hand it is
not very difficult (may be I don't understand something) for my personal
needs I do it second time since 2000 :).
Now I installed hybrid K8/K9 hurd (installation mini-cd from K9 + other
stuff from K8 cd set) and downloaded tcsh_6.14.00.orig.tar.gz.
Aha, yes, I did not used cross-compiling, but installed gcc-3.3 under hurd.
After applying attached patch I have looks like usable tcsh.
Yury Semenov, Odessa, Ukraine
#!/bin/sh
cd /lib
ln -s libncurses.so.5.4 libncurses.so
cd ~/tcsh-6.14.00
patch <<PATCH
--- ma.setp.c 2004-08-04 20:12:28.000000000 +0300
+++ ../tcsh-6.14.00-new/ma.setp.c 2005-05-20 07:17:26.000000000 +0300
@@ -135,7 +135,7 @@
static int initpaths __P((char **));
static void savepaths __P((char **));
static void freepaths __P((void));
-static void rcmd __P((char *));
+static void rcmdx __P((char *));
static void icmd __P((char *, char *));
static void iacmd __P((char *, char *));
static void ibcmd __P((char *, char *));
@@ -174,7 +174,7 @@
case 'r':
if (cmd[2] != '\0')
INVALID;
- rcmd(localsyspath);
+ rcmdx(localsyspath);
break;
case 'i':
if (cmd[2] == '\0') {
@@ -345,7 +345,7 @@
***********************************************/
static void
-rcmd(localsyspath) /* reset path with localsyspath */
+rcmdx(localsyspath) /* reset path with localsyspath */
char *localsyspath;
{
int n, done;
--- host.defs 2005-03-03 18:49:15.000000000 +0200
+++ ../tcsh-6.14.00-new/host.defs 2005-05-22 13:47:57.000000000 +0300
@@ -435,6 +435,21 @@
enddef :
+newdef : defined(__gnu_hurd__)
+comment : GNU/HURD
+vendor : defined(M_intel) : "intel"
+hosttype: defined(M_i686) : "i686"
+hosttype: defined(M_i586) : "i586"
+hosttype: defined(M_i486) : "i486"
+hosttype: defined(M_i386) : "i386"
+ostype : : "gnu"
+machtype: defined(M_i686) : "i686-pc-gnu"
+machtype: defined(M_i586) : "i586-pc-gnu"
+machtype: defined(M_i486) : "i486-pc-gnu"
+machtype: defined(M_i386) : "i386-pc-gnu"
+enddef :
+
+
newdef : defined(linux) || defined(__GNU__) || defined(__GLIBC__)
comment : Linus Torvalds's linux
vendor : defined(M_intel) : "intel"
PATCH
./configure --prefix=/usr --build=i386-pc-gnu
make install install.man