From: Greg King (gngking_at_erols.com)
Date: 2003-01-18 03:25:57
-----Original Message----- From: Groepaz Date: Thursday, January 16, 2003, 07:34 PM > > On Thursday 16 January 2003 11:07, Greg King wrote: > > > > You can tell cl65 to run only some of the other tools. (It is similar to > > gcc.) If you start with assembly source files, then cl65 won't run the > > compiler; it will run the other two. The "-c" option doesn't run the > > linker. And, so on... > > But, you can not run, eg., the compiler and assembler with -t c64, > and the linker with -C bla.cfg. Yes, we can! In fact, we can go further than that -- we can use the start-up-code and library from a different target. This command: cl65 -t c128 hello.c -t atari -C my.cfg will generate these commands: cc65 -t c128 hello.c ca65 -t c128 hello.s ld65 -C my.cfg -o hello atari.o hello.o atari.lib I don't know if it's a feature that Uz deliberately put into cl65, or a bug that we can turn into a feature. ;-) ---------------------------------------------------------------------- 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 : 2003-01-18 03:40:04 CET