Article View: comp.robotics
Article #1995gcc-mips output format
From: Demetri Patukas
Date: Mon, 23 Aug 1993 15:39
Date: Mon, 23 Aug 1993 15:39
21 lines
1843 bytes
1843 bytes
I'm trying to use GCC on a sparcstation to compile code for a mips vxworks target, the Huerikon HK-V3500. It looks like the compiler is mostly working, but vxworks keeps rejecting the object files produced by the assembler (I'm using gas-2.1.1). We also have an Iris, and vxworks does accept the output of "cc -c" from the iris. Also, if I take an assembly file produced by gcc, and assemble it on the iris, it works. I've tried configuring gas for mips-mips-ecoff and mips-sgi-irix4. It looks like gas is putting out ZMAGIC files (not relocatable?), and vxworks wants NMAGIC. We tried just changing the magic number on the output file, and vxworks gets a little farther, but still returns the error S_loadLib_LOAD_SECTIONS. I've browsed through the documentation and the source, but I cant figure out how to change the output format of gas. Maybe it's in the BFD libraries? Can anyone tell me how to set up gas to work with mips vxworks? (for those who don't know, vxworks is a "sort of unix-like" real time operating system) - Demetri Patukas (dp1g@andrew.cmu.edu>
Technical Details
Message-ID:
<4gSCH1200YUoEF6kBG@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!fs7.ece.cmu.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!dp1g+Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3ed1a9552072a771,start X-Google-Attributes: gid11318c,public X-Google-Thread: 100110,3ed1a9552072a771,start X-Google-Attributes: gid100110,public X-Google-ArrivalTime: 1993-08-23 09:19:43 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!fs7.ece.cmu.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!dp1g+ From: Demetri Patukas <dp1g+@andrew.cmu.edu> Newsgroups: comp.robotics,gnu.gcc.help Subject: gcc-mips output format Date: Mon, 23 Aug 1993 11:39:45 -0400 Organization: Sponsored account, Robotics Institute, Carnegie Mellon, Pittsburgh, PA Lines: 21 Message-ID: <4gSCH1200YUoEF6kBG@andrew.cmu.edu> NNTP-Posting-Host: andrew.cmu.edu