<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>A while back I ported the 211bsd c compiler and linker to linux.  I also found that the xinu as seemed to be</div><div>the original sources for the 211bsd assembler.</div><div><br></div><div>I think the whole thing (sort of) holds together</div><div><br></div><div><a href="http://www.heeltoe.com/download/pdp11/tar/cc11-20061031.tar.gz">http://www.heeltoe.com/download/pdp11/tar/cc11-20061031.tar.gz</a><br></div><div><br></div><div>-brad<br></div>
<blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: [Simh] Cross-assemblers, cross-compilers: success! (so far)<br>
From: Jordi Guillaumes i Pons <<a href="mailto:jg@jordi.guillaumes.name">jg@jordi.guillaumes.name</a>><br>
Date: Tue, July 24, 2012 3:05 pm<br>
To: <a href="mailto:simh@trailing-edge.com">simh@trailing-edge.com</a><br>
<br>
<br>
First of all, thanks for the replies to my post asking for a PDP-11 cross-assembler for linux/unix environments.<br>
<br>
I've been playing with some of the suggestions I got, and finally I have decided to try to build a GNU toolchain configured as cross-compiler. Although it has some issues (the most annoying is that the default script used by the linker has a syntax error!), it can be used and it works. I've also written a small program to convert from the a.out format generated by the "ld" linker to the "paper tape" format that the SIMH load command expects. <br>
<br>
To cut the story short, I've been able to write, compile, link and execute a small "hello world" program over a bare metal (simulated) PDP-11. I've written a blog post about that small acomplishment, where if you are interested you can see the steps I followed and you can find the small utility I've written.<br>
<br>
The URL is <a href="http://ancientbits.blogspot.com.es/2012/07/programming-barebones-pdp11.html">http://ancientbits.blogspot.com.es/2012/07/programming-barebones-pdp11.html</a><br>
<br>
<br>
<br>
Jordi Guillaumes i Pons<br>
<a href="mailto:jg@jordi.guillaumes.name">jg@jordi.guillaumes.name</a><br>
HECnet: BITXOV::JGUILLAUMES<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh">http://mailman.trailing-edge.com/mailman/listinfo/simh</a><br>

</div>
</blockquote></span></body></html>