[net.micro.68k] Wanted!

rodger@dcl-cs.ac.uk (02/27/86)

Hi there world.

	A plea from the bottom of my heart....

Has anybody out there got a Motorola 68000 cross-compiler development system,
ie compiler, assembler, linkage editor etc (preferably sources of)
that we can run on a SUN workstation using SUN v2.0 (ie BSD 4.2 UNIX)
-- we can't build our revolutionary mind-blowing op/system without it!!!!!......
	(then again, maybe that's a good thing!!)


				Thanks in advance,

					Rodger J Lea


-- 
UUCP:	...!seismo!mcvax!ukc!dcl-cs!rodge| Post: University of Lancaster,
DARPA:	rodge%lancs.comp@ucl-cs		 |	Department of Computing,
JANET:	rodge@uk.ac.lancs.comp		 |	Bailrigg, Lancaster, UK.
Phone:	+44 524 65201 Ext. 4146		 |	LA1 4YR
Project: Cosmos Distributed Operating Systems Research

geoff@desint.UUCP (Geoff Kuenning) (03/04/86)

> Has anybody out there got a Motorola 68000 cross-compiler development system,
> ie compiler, assembler, linkage editor etc (preferably sources of)
> that we can run on a SUN workstation using SUN v2.0 (ie BSD 4.2 UNIX)

	% cat > start.s
		.globl	start,_main
	SPSTART	=	0xFFFFFE	| Or whatever is appropriate
	start:	movl	#SPSTART,sp
		jsr	_main
	hang:	bra	hang
	^D
	% as start.s
	% cat > sample.c
	#define LEDPORT	((int *) 0xA00000)
	main ()
	    {
	    int		i;

	    for (i = 0;  ;  i++)
		*LEDPORT = i >> 8;	/* Shift right for slower variation */
	    }
	^D
	% cc -O -c sample.c
	% ld -o sample -R 1000 start.o sample.o

(I'm not sure -R is the right name for the relocation switch;  maybe
Guy Harris can help me out here.  The loader has a switch to set the start
address;  it's used in building the Unix kernel.  Go look at the makefile
for the Unix kernel;  it makes use of the switch to relocate the kernel to
hex 2400 or some such offset.)
-- 

	Geoff Kuenning
	{hplabs,ihnp4}!trwrb!desint!geoff