Hi,

At Wed, 12 Feb 2003 06:00:32 +0900,
Craig Files wrote:
> After correcting the above I get the following linker error:
> 
> ld -b -Wl,-E -E  -L"/home/cfiles/dnload/hpux/ruby-1.8.0" -o curses.sl curses.o
> -lcur_colr  -ldld -lcrypt -lm  -lc
> ld: Unrecognized argument: -Wl,-E
> ld: Usage:  ld [options] [flags] files
> 
> (Which is strange that it now decides to use ld as the linker instead of
> gcc which it used on the previous error.  This last error also comes up when I
> try to compile the CVS snapshot taken on February 10th of ruby.)

gcc is standard on HP-UX?

Index: configure.in
===================================================================
RCS file: /cvs/ruby/src/ruby/configure.in,v
retrieving revision 1.166
diff -u -2 -p -r1.166 configure.in
--- configure.in	20 Jan 2003 12:51:50 -0000	1.166
+++ configure.in	12 Feb 2003 00:27:12 -0000
@@ -729,7 +729,7 @@ if test "$with_dln_a_out" != yes; then
 
   case "$target_os" in
-	hpux*)		DLDFLAGS="-E"
-			LDSHARED='ld -b'
-			LDFLAGS="-Wl,-E"
+	hpux*)		DLDFLAGS="-Wl,-E"
+			LDSHARED="${CC}"
+			XLDFLAGS="-Wl,-b"
 			rb_cv_dlopen=yes;;
 	solaris*) 	if test "$GCC" = yes; then

-- 
Nobu Nakada