This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc on mips-*-sysv4* Cannot generate float.h
- To: egcs at cygnus dot com
- Subject: gcc on mips-*-sysv4* Cannot generate float.h
- From: "Koundinya.K" <kk at ddeorg dot soft dot net>
- Date: Sat, 08 Aug 1998 15:50:20 +0530
Hello everybody,
I have asked this question many times. I am trying to compile egcs1.0.3a on
my mips R4000 based system running SVR4.2 O.S for nearly 4 months now. I am
using the configuration for
mips-sni-sysv4*. with the gas and gnu linker.
as this configuration was recommended to me by many on the mailing list and I
personally also feel that this should work for me.
All the compilation in the process of bootstrapping works except for the
point when the program "enquire" tries to generate float.h , where I get the
following error.
I am pasting some log here.
-------------Earlier stuff not shown-------------------------------------------
./ld -o enquire /opt/epc/epctools/crt1.o /opt/epc/epctools/crti.o
/opt/epc/epct
ools/values-Xt.o -L. -L/usr/local/mips-dde-sysv4.2MP/lib -L/opt/epc/epctools
-L/
opt/epc/epctools -L/usr/local/lib enquire.o -lgcc -L/usr/ccs/lib/ -lc
/opt/epc/e
pctools/crtn.o -lgcc
../enquire -f > tmp-float.h
dynamic linker: ./enquire: unidentifiable procedure reference (address =
0x40062
cd8)
Killed
gnumake[2]: [float.h-nat] Error 137 (ignored)
----------------Later stuff not shown-----------------------------------------
I did
ldd -d enquire
dynamic linker: enquire: file loaded: /usr/lib/libc.so
and found that libc was dynamically loaded.
So I tried static linking , by making suitable changes to the LINK_SPEC in the
sni-svr4.h to contain the option only for static linking.
#define LINK_SPEC "\
%{G*} \
%{!mgas: \
%{dn}}"
But still there is no change and I get the same problem with enquire. Also
ldd -d enquire revealed the same result as the above one.
Where I am going wrong. I will be grateful if anyone could provide me any
ideas/tips. Perhaps any SNI people could guide me.
Thanks for any information provided. Sorry if this mail has been too long.
Koundinya
__\/__
. / ^ _ \ .
__^__ |\| (o)(o) |/| __^__
( ___ )---------------------.OOOo----oo----oOOO.------------------( ___ )
| / | | \ |
| / | Koundinya.K ( Development Engineer ) | \ |
| / | DDE ORG Systems, III Floor, Maruthi Towers | \ |
| / | 3/4, Hosusr Road, Madiwala, Bangalore 560 068, INDIA| \ |
| / | email : kk@ddeorg.soft.net Fax : +91-080-553 8646 | \ |
| / | Phone :+91-080-5538125, +91-080-5539217, +91-080-5538646 | \ |
| / | | \ |
| / | Have a Good Day !! | \ |
|___|_________________________________Oooo._______________________|___|
(_____) .oooO ( ) (_____)
( ) ) /
%->) \ ( (_/ (<-%
\_)