Hi! On Wed, Jun 02, 2004 at 10:46:07PM +0200, Christian Groessler wrote: > when I compile an Atari program, I get different results depending on > where in the command line I put the -tatari switch. There was a similar discussion some time ago. The cl65 utility parses the command line from left to right, compiles each file as it is encountered and links the whole at the end of the line. The reason behind this behaviour is that different source files may be compiled using different options. It is also easier, since the source file don't have to be remembered. Once they're compiled, the name of the output file is added to the linker command line and otherwise forgotten. The behaviour explains what you are seeing: In the first case, the system is given before the source file, which means that the the character translation is in effect, while in the second case, the -t switch will only influence the link stage. > "cl65 -h" suggests that options must appear before the files but the > -o at the end also works and cl65 doesn't try to compile a "-o" file If you follow the order given in the help text, you're always on the safe side. Anything else is undefined behaviour:-) Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Jun 2 23:17:19 2004
This archive was generated by hypermail 2.1.8 : 2004-06-02 23:17:27 CEST