In the configure script i found the following
LIB_DLD=-ldld;;
LINUX_ELF)
SH_CCFLAGS='' <-------------------------- wrong! there should be -fPIC
SH_LDFLAGS='-shared -o'
SH_LOADER='ld'
SH_SUFFIX='so'
# Under ELF, use the -rdynamic option at ld phase
STKLDFLAGS=-rdynamic;;
when SH_CCFLAGS is empty, also the gcc-extra some lines later cant get
active (it sets -fpic, which seems to be accepted also for linux?, i
changed it to set -fPIC which always works).
--
Fritz Heinrichmeyer FernUniversitaet Hagen
FAX: +49 2371/566236 LG Elektronische Schaltungen
EMAIL: fritz.heinrichmeyer_at_fernuni-hagen.de Frauenstuhlweg 31
PHONE: +49 02371/566-243 58644 Iserlohn (Germany)
WWW: http://ES-sun2.fernuni-hagen.de
Received on Thu Oct 12 1995 - 09:26:20 CET