This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Linker problem....
- To: egcs at cygnus dot com
- Subject: Linker problem....
- From: "Koundinya.K" <kk at ddeorg dot soft dot net>
- Date: Thu, 11 Jun 1998 19:45:24 +0530
Hello everybody,
I recently downloaded egcs1.0.3a and started to port it. I am using a SVR4.2
(system V release 4) based system that is mips compatible. I have configured it
../configure.
The configure script could figure out the type of my system since it matched
the following in the configure script
mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*).
I could port up to the following .
collect2 and xgcc are generated. Now I am stuck up with the following linker
error .
------ Earlier stuff not shown------------------------
./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire
/opt/epc/bin/ld: ERROR: Illegal option -- y
usage: ld [-abmn:rstGVd:e:h:l:o:u:z:B:I:L:M:Q:Y:] file(s) ...
[-a create absolute file]
[-b do not do special PIC relocations in a.out]
[-m print memory map]
[-no_library_replacement ignore LD_LIBRARY_PATH]
[-no_redefinition_error allow multiply defined symbols]
[-note print information notices]
- and lots of other option that my native linker supports.
collect2: ld returned 1 exit status
--------------------------------------------------------------------------
These are the files used in the process,
tm_file=mips/svr4-4.h
xm_file=mips/xm-sysv4.h
xmake_file=mips/x-sysv
tmake_file=mips/t-svr4
The LINK_SPEC in the svr4-4.h does not have any -y option defined. I am not
able to locate as to from where the -y options is being taken.
Please help me!!
Thanks for any help
''~``
( o o )
-------------------------.oooO--(_)--Oooo.----------------------
| |
| Koundinya.K, (kk) |
| (Development Engineer) |
| DDE ORG Systems, Phone : +91-080-553 8125 |
| III Floor, Maruthi Towers, +91-080-553 9217 |
| 3/4, Hosur Road, Fax : +91-080-553 8646 |
| Madiwala, email : kk@ddeorg.soft.net |
| Bangalore 560 068 INDIA. |
| .oooO |
| ( ) Oooo. |
------------------------------\ (----( )-----------------------
\_) ) /
(_/