Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/12/84; site desint.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!desint!geoff From: geoff@desint.UUCP (Geoff Kuenning) Newsgroups: net.micro.68k,net.research Subject: Re: Wanted! (68K Cross Compiler) Message-ID: <163@desint.UUCP> Date: Tue, 4-Mar-86 02:20:54 EST Article-I.D.: desint.163 Posted: Tue Mar 4 02:20:54 1986 Date-Received: Fri, 7-Mar-86 03:22:08 EST References: <1035@dcl-cs.UUCP> Reply-To: geoff@desint.UUCP (Geoff Kuenning) Organization: SAH Consulting, Manhattan Beach, CA Lines: 34 Xref: watmath net.micro.68k:1545 net.research:429 > 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