Skip to content
Snippets Groups Projects
Commit e0a6aa11 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now uses -n32 to link shared objects on Irix if compiling with gcc (egcs).

Rev: src/configure.in:1.140
parent f6574c62
No related branches found
No related tags found
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.139 1997/12/02 23:21:33 grubba Exp $") AC_REVISION("$Id: configure.in,v 1.140 1997/12/11 23:55:50 grubba Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -1648,7 +1648,14 @@ then ...@@ -1648,7 +1648,14 @@ then
LDSHARED="ld" LDSHARED="ld"
fi fi
;; ;;
IRIX*) LDSHARED="ld -shared";; IRIX*)
if test "$GCC" = yes ; then
# egcs defaults to building -n32 objects
LDSHARED="ld -shared -n32"
else
LDSHARED="ld -shared"
fi
;;
SunOS*) LDSHARED="ld";; SunOS*) LDSHARED="ld";;
Solaris) LDSHARED="/usr/ccs/bin/ld -G";; Solaris) LDSHARED="/usr/ccs/bin/ld -G";;
hp*|HP*) LDSHARED="ld -b";; hp*|HP*) LDSHARED="ld -b";;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment