Article View: gnu.gcc.help
Article #53071gld-2.0, cross link sun4 -> sun3os3
From: Barry Mazin 4-6073 MRCE
Date: Thu, 12 Mar 1992 20:58
Date: Thu, 12 Mar 1992 20:58
36 lines
1609 bytes
1609 bytes
I am trying to build the GNU linker so that it can link 68020 object files on sun4 to run on a sun3, 3.5os. So far, my attempts have been unsuccessful. The linker fails to generate working bianary files. Has anybody been able to build the cross-linker. Here is what I have done so far: $zcat binutils-1.94-beta.tar.Z | tar -xvf - $configure sun4 -target=sun3os3 $make What am I missing or failing to do when I build the linker? The make builds a linker called ld.new. But the bianary files produced by the linker are bad. *** i.e. ****************** $file 2dtof 2dtof: data $ 2dtof Cannot execute binary file. 2dtof: Exec format error the file command should return on 2dtof $file 2dtof 2dtof: mc68020 demand paged executable not stripped ******************************** Notes: I link in a correct sun3 version of libc.a libm.a which I specify in the build. I also link in a sun 3, gcc version 1.37.1 of gnulib. And, I use a version 1.37.1 gcc cross-compiler.
Technical Details
Message-ID:
<1992Mar12.205836.22959@mr.med.ge.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!uwm.edu!news.mr.med.ge.com!mazinShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,142575f063a51ad8,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-12 14:19:20 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!uwm.edu!news.mr.med.ge.com!mazin From: mazin@mr.med.ge.com (Barry Mazin 4-6073 MRCE) Subject: gld-2.0, cross link sun4 -> sun3os3 Message-ID: <1992Mar12.205836.22959@mr.med.ge.com> Keywords: ? Sender: news@mr.med.ge.com Nntp-Posting-Host: medusa Organization: GE Medical Systems, Magnetic Resonance Date: Thu, 12 Mar 92 20:58:36 GMT Lines: 38