Subject: Re: intel -> hp300 cross compiler
To: Philip Blundell <pb@nexus.co.uk>
From: Mike Whiten <mwhiten@microlegend.com>
List: port-hp300
Date: 09/13/1999 11:36:21
On Mon, 13 Sep 1999, Philip Blundell wrote:
>>Has anyone successfully built an operation cross-compiler (host: x86-linux,
>>target: hp300-netbsd).
>
>There should be nothing especially tricky about this.  Have you tried and 
>failed or were you just daunted by the prospect?

I tried with egcs-1.1.1 but it seemed confused about the particular
target configuration I was attempting (I tried several).  I attributed this to
the youthfulness of egcs (they changed the build structure a bit from
the gcc days).  As I recall,  I was able to get simple a.out's to run if
I linked them on the target host.  The binutils (nm, as, etc.) made the
wrong assumptions about the .o's I was producing  (you can build binutils to
recognize multiple object formats and it guessed wrong).  

I also wasn't sure what taget-name (eg. m68k-hp300-netbsd or something) was
the appropriate one.   Given that 1.5 is built with egcs now, I thought it was
a good time to see if anyone had any more luck than me in building an egcs
cross-compiler.  

Mike