[gnu.gcc] Gcc cross compiler problems

lazlor@ucscl.UCSC.EDU (Allen) (06/04/89)

I am having problems setting up gcc to cross compile from a vax 11-750
runnig Unix 4.3 to an ISI V24 (68020) running BSD 4.2(1/2) (lots o hacks).

I have compiled gcc 1.35 on the vax along with Gas 1.33. This combination
generates code that correctly links on the ISI (and executes).

I would like to use GCC ld to do my linking on the vax, but my attempts
have been unsuccessful. No matter how I compile ld, it does not recognize
ISI .o files. It gives the following error:

ld: malformed input file (not rel or archive) foo.o

Stop.

(crt0.o is the ISI crt0.o file)

It will however still recognize vax .o files.

Any ideas would be appreciated greatly.

Allen Smith

==============================================================================
* lazlor@ucscb.UCSC.EDU - INTERNET    | 'The land divided, the world united' *
* ...ucbvax!ucscc!ucscb!lazlor - UUCP |  Any opinions, whether implied or    *
* lazlor%ucscb@ucscc.BITNET BITNET    |  expressed are not those of UCSC.    *
==============================================================================

--

==============================================================================
* lazlor@ucscb.UCSC.EDU - INTERNET    | 'The land divided, the world united' *
* ...ucbvax!ucscc!ucscb!lazlor - UUCP |  Any opinions, whether implied or    *
* lazlor%ucscb@ucscc.BITNET BITNET    |  expressed are not those of UCSC.    *
==============================================================================