Article View: gnu.gcc.help
Article #51104mips -> hp300hpux cross compiler
From: Gaurang Hirpara
Date: Thu, 01 Jul 1993 15:40
Date: Thu, 01 Jul 1993 15:40
22 lines
1869 bytes
1869 bytes
Keywords: versions: gcc 2.4.3.1 gas 2.1.1 binutils 2.2.1 Okay, I posted a while ago about a cross compiling environment for a mips to m68k cross compiler. Anyways, since then I made some progress. Namely, since there happens to be an hp sitting around, I thought I would try a cross to it first. Once again, I'm halfway through compiling gcc -- i.e. a working xgcc. xgcc produces okay assembly. gas produces an okay object file. the linker, however, bombs out with a message IOT Instruction. I traced it to an abort call inside the linker code (bfd/aoutx.h). It seems, though, that the reason it aborted was that the entry cache_ptr->symbol.section was (nil), which the condition for the abort. So I tried to link on an object file produced natively on the hp. That link only complained about an undefined symbol, but did not trap out. So that leads me to believe the problem might be in the assembler, and taking a look at the hp native object file and the cross assembled file shows a few discrepencies (granted there should be anyway). yet both the gas assembler and gld were configued for target=hp300hpux. Am I missing something here? Is there something about the hp config files that's plain screwy? --dan
Technical Details
Message-ID:
<1993Jul1.154042.26768@gordian.com>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!news.service.uci.edu!gordius!gordius!danhShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,63c12714c4878de0,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-07-01 09:14:52 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!news.service.uci.edu!gordius!gordius!danh From: danh@gordian.com (Gaurang Hirpara) Subject: mips -> hp300hpux cross compiler Message-ID: <1993Jul1.154042.26768@gordian.com> Sender: danh@hermes (Gaurang Hirpara) Organization: Gordian; Costa Mesa, CA Date: Thu, 1 Jul 1993 15:40:42 GMT Lines: 22