Ok, that looked promising for OSKit at least. It appears that the -D__ELF__ is what has been messing me up. Maybe this will work for me now...
Oh, i used --prefix=/usr/i386-gnu so that the libs and headers get installed for the cross-compiler in the preferred place. I think this is right.
I tried briefly to modify configure.in so that autoconf will make a configure
that adds this flag for Hurd, but haven't solved it yet. Maybe I'll make a
small patch for OSKit if I can crack it. The trick is to not interfere with
any of the other possible configurations. I'm trying something like this:
case $CC in i386-gnu*) OSKIT_DEFS="$OSKIT_DEFS -D__ELF";; esac
- Doug
Derek L Davies wrote:
Douglas,
Here are my notes on building oskit (cross compiled from linux). I only modified one file, as described below, and the 2-14-2001 source built very well for me.
ftp flux.cs.utah.edu
tar zxvf oskit-20010214.tar.gz cd oskit-20010214
mkdir build
mkdir install
cd build
../configure --prefix=/usr/src/HURD/oskit-20010214/install --build i686-linux --host i386-gnu
<edit the 'Makeconf' file and add '-D__ELF__' to 'DEFINES'>
make
I hope this helps! If you still want a tar'ed up source tree I can give you that too.
Derek