From: daniel pralle (daniel.pralle_at_stud.uni-hannover.de)
Date: 2000-12-04 13:59:42
On Mon, 4 Dec 2000, Ullrich von Bassewitz wrote: > > On Mon, Dec 04, 2000 at 11:23:50AM +0100, Daniel Pralle wrote: > > I have compiled cc65 for the Atari F030 running MiNT (LINUX style OS) > > When I compile hello.c I get the Error #35 and unkown charackter. > > When I compile hello.c on a LINUX-PC no error occurs. Why could this be? > > Sorry but there's a whole lot of information missing. OK, here you go: by the way, I have written my own hello.c (but the errors occured in the samples/hello.c as well but with other Valus!!!) my hello.c looks like this: #include <stdio.h> int main ( void) { printf( "Hello, World!"); } > > * Which cc65 sources did you compile for the Atari? cc65-sources-2.50.tar.gz > > * Error #35 is "Compiler directive expected", while "Invalid character" is > error #1. Which one of both did you get? > Error #35 gives line number 0 !!!! invalid charackters where (105) und (110) in MY HELLO.C ( The line was 5, counting from ZERO onwards!) in the samples/hello.c it was (97) and something else I don't remember. At the moment I am at university, so I can"t check it! > * The error message "Invalid character" prints the character code. It would > be really helpful to know this code. see above > > * Where in hello.c did you get this error (knowing at least the line number > would be great)? above > > * Is the Atari using a line separator different from Unix style operating > systems? If so, did you apply any conversions to hello.c? ATARI uses the MS-DOS Line seperator, but MiNT is LINUX/ UNIX like and I edited hello.c with emacs AND an ATARI-Editor saving in UNIX-type. So I think that couldn't be the cause! > > I'm pretty sure that the issue can be resolved without much effort once the > exact problem is known. I hope so!! ;-) > > Regards > > > Uz > > > -- > Ullrich von Bassewitz uz_at_musoftware.de > ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET