Re: [cc65] cc65 on MacOS

From: Mark J. Reed <markjreed1mail.com>
Date: 2010-05-11 17:52:59
Glad Xcode is working, but something seems to be wrong with your
command-line setup.  You shouldn't have to change anything for gcc to
find its <std> headers.  Given a simple hello.c:

#include <stdio.h>
int main() { printf("Hello, world!\n"); }

All you need to do to compile it from the command line is type this:

gcc hello.c

If that doesn't work, then I'd reinstall Xcode.  If it does work, then
try introducing make into the mix:

make hello

which, without a Makefile, should compile hello.c to the executable
'hello' (instead of a.out, which is what gcc produces by default).

If that works, then you can try using make (instead of
"/Developer/usr/bin/gnumake") to build cc65, although they should be
symlinked to the same place.

I still think reinstalling Xcode is your best bet.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue May 11 17:53:30 2010

This archive was generated by hypermail 2.1.8 : 2010-05-11 17:53:32 CEST