[comp.sys.atari.8bit] CC65 C Compiler

robby@vax1.acs.udel.EDU (Robert Spotts) (09/05/90)

	I recently FTPed the CC65 ARC files from ATARI.ARCHIVE.UMICH.EDU.
	I noticed there were MAKEFILEs for compiling and linking the 
	compiler on a Unix host.  I haven't had to much success in
	making this compiler work on a Unix host.  Has anyone got this
	thing to run on anything else besides an Atari 8bit???

	Rob

pm16579@uxa.cso.uiuc.edu (09/05/90)

  Do you mean, that the makefiles were specifically for compiling the
 CC8 compiler source on a Unix host?

gdtltr@freezer.it.udel.edu (Gary Duzan) (09/05/90)

In article <49700042@uxa.cso.uiuc.edu> pm16579@uxa.cso.uiuc.edu writes:
=>
=>
=>
=>
=>
=>  Do you mean, that the makefiles were specifically for compiling the
=> CC8 compiler source on a Unix host?

   I have fixed CC65 to cross-compile from Unix (specifically SunOS) using GCC.
Sun's C compiler doesn't like the #asm directives, and GCC is portable enough
(and free!) I managed to get it to cross-compile/assemble/link itself, and
added backslash line continuation while I was at it. If I get enough requests
I will try to make the tar.Z file available.

                                        Gary Duzan
                                        Time  Lord
                                    Third Regeneration


p.s. Major bummer. My keyboard is on the blink. ESC, 1-6, -, and occasionally
other keys don't work. Right now I'm using the Sun 3 I used to port the above
mentioned compiler.

                                         GD,TL,TR



--
                          gdtltr@freezer.it.udel.edu
   _o_                    --------------------------                      _o_
 [|o o|] If you can square, round, or cube a number, why not sphere it? [|o o|]
  |_O_|         "Don't listen to me; I never do." -- Doctor Who          |_O_|

robby@vax1.acs.udel.EDU (Robert Spotts) (09/06/90)

In article <49700042@uxa.cso.uiuc.edu> pm16579@uxa.cso.uiuc.edu writes:
>
>
>
>
>
>  Do you mean, that the makefiles were specifically for compiling the
> CC8 compiler source on a Unix host?

  
  I'm think so!  The documentation that came with isn't very good.  It only
  explains how to run the compiler, assembler, & linker.  It says nothing
  about recompiling & linking.  However, there are three files with the
  source archive.  They are as follows:

	MAKE8
	MAKEFILE.ST
	MAKEFILE.UNX

  I assumed that MAKEFILE.UNX was a makefile for unix hosts.  Did I assume
  wrong??

  Rob

bdp@bushido.uucp (Brian Place) (09/06/90)

Well, as far as I know, it is 6502 specific assembly language, which means
it won't work on a Unix machine..Unless you're talking about C source code, and
not the compiler itself.

								-Brian

-- 
===============================================================================
Brian Place
Internet/UUCP: bdp@shadow.ann-arbor.mi.us
CompuServe: 73767,1651
GEnie: B.PLACE
===============================================================================

gdtltr@freezer.it.udel.edu (Gary Duzan) (09/06/90)

In article <1990Sep5.215349.2801@bushido.uucp> bdp@bushido.uucp (Brian Place) writes:
=>
=>Well, as far as I know, it is 6502 specific assembly language, which means
=>it won't work on a Unix machine..Unless you're talking about C source code, and
=>not the compiler itself.
=>
=>								-Brian
=>
   CC65 will effectively cross-compile from Unix, however, when set up
properly. That way you have more memory to build stuff.

--
                          gdtltr@freezer.it.udel.edu
   _o_                    --------------------------                      _o_
 [|o o|] If you can square, round, or cube a number, why not sphere it? [|o o|]
  |_O_|         "Don't listen to me; I never do." -- Doctor Who          |_O_|

Chris_F_Chiesa@cup.portal.com (09/08/90)

I have gotten CC65 up, running, and compiling programs on a Sun Microsystems
SPARCstation I.  I've communicated most, although perhaps not all, of the
fixes needed, to John Dunning, CC65 author.  The SPARCstation runs SunOS 
which is for all intents and purposes a UNIX clone.  

Chris Chiesa
  Chris_F_Chiesa@cup.portal.com