gcc cross compiler for PDP-11
"Christopher Cureau" wrote:
>Has anyone gotten the cross compiler successfully built? I keep trying,
>and keep failing... 8-)
If anyone (else) is intertested in this, here's what I've learned:
concerning gcc/binuils & pdp-11
- gcc's (3.3.2) backend generates "unix" style asm
- gas wants "gas" style asm and doesn't like the "unix" style asm
- the pdp-11 gcc maintainer knows this and has some fixes which he's
going to release soon
in the mean time,
You can't simply cross compile the "as" from 2.11BSD because it's
written in assembler. (but it sure looks like it was C at point)
The xinu "as11" assembler accepts "unix style" asm and outputs a.out,
but the format is not quite right (the symbols are wrong with no string
table). Not letting that stop me I hacked "as11" such that
binutils-2.14 is happy with the a.out it produces.
I'm going to try and use this to cross compile a few things. We'll see
how it goes.
I could sure use a complete pdp-11 assembler reference (with floating
point) if anyone has one or knows where one is on-line.
-brad
Received on Sat Jan 31 2004 - 15:33:29 GMT
This archive was generated by hypermail 2.3.0
: Fri Oct 10 2014 - 23:36:48 BST