*BSD News Article 4651


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sdd.hp.com!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!maverick.ksu.ksu.edu!news
From: brtmac@maverick.ksu.ksu.edu (Brett McCoy)
Newsgroups: comp.unix.bsd
Subject: cross compiling on a Sparc for 386bsd
Date: 7 Sep 1992 21:27:51 -0500
Organization: Kansas State University
Lines: 11
Message-ID: <18h337INNs88@maverick.ksu.ksu.edu>
NNTP-Posting-Host: maverick.ksu.ksu.edu

Okay, I've got a gcc 2.2.2 cross compiler set up on my SS-1 that
generates good 386 code.  I've got gas set up to assemble that code
and create an object file.  However, I can't link the object file.
All of the GNU binutils give me "malformed input (not a rel file or
archive)".  I'm assuming the little endian, bit endian difference is
what's getting me.  My question is this, is it possible to get ld
and assorted friends to work with 386 code on a SS-1?  Or, do I have
to just copy the .o files over to my 386 box and link them there?

++Brett;