[Prev][Next][Index][Thread]

Re: [Q] Kaffe/OSKit configuration



> From: Patrick Tullmann <tullmann@cs.utah.edu>
> Subject: Re: [Q] Kaffe/OSKit configuration
> 
> It looks like your i586-oskit-gcc script isn't finding the right gcc
> specs file (the OSKit specs file defines the -posix-oskit option).

Oops, this has indeed become a problem is newer versions of gcc. The fix is
contained in the following tiny patch file. Apply this patch in the top of
your oskit source tree, and then reconfigure and reinstall your oskit. So:

	cd /your/oskit/sourcedir
	patch < /tmp/thispatch

Index: unsupported/scripts/gcc-driver-script.in
===================================================================
RCS file: /usr/lsrc/flux/CVS/oskit/unsupported/scripts/gcc-driver-script.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** gcc-driver-script.in	1998/05/30 04:06:58	1.1
--- gcc-driver-script.in	1999/09/08 16:47:01	1.2
***************
*** 11,14 ****
  # Edit as you see fit, but note that the slash at the end of
  # GCC_EXEC_PREFIX is mandatory!
  #
! GCC_EXEC_PREFIX=@prefix@/ @CC@ ${1+"$@"}
--- 11,14 ----
  # Edit as you see fit, but note that the slash at the end of
  # GCC_EXEC_PREFIX is mandatory!
  #
! GCC_EXEC_PREFIX=@prefix@/ -B @prefix@/ @CC@ ${1+"$@"}