🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Demetri Patukas Mon, 23 Aug 1993 15:39
gcc-mips output format
#1995
Author: Demetri Patukas
Date: Mon, 23 Aug 1993 15:39
21 lines
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>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads