On Tue, Aug 09, 2005 at 10:12:06PM +0200, Christian Groessler wrote: > (Uz, wouldn't it be nice, if one could set this from the cl65 command > line? I think there is no way currently. Maybe by means like the gcc -Wl > and -Wa options, to pass switches explicitly to the assembler or linker?) Done. cl65 does now support passing options directly to the assembler and linker. The feature shouldn't be used for options supported directly be cl65, since the arguments passed using -Wa and -Wl aren't parsed by cl65, so they may interfere with the defaults. For example when using cl65 -Wa -t,atari foo.s the assembler is actually called as ca65 -t atari -t c64 foo.s because the c64 target is the default, and cl65 doesn't parse the options passed with -Wa, so it doesn't know that a target was already passed to the assembler. The same is true for linker options and -Wl. gcc aficionados please note that usage differs from usage in gcc: gcc needs a trailing comma before any option, while cc65 does not. gcc syntax: -Wl,opt,opt cc65 syntax: -Wl opt,opt 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 Sat Aug 13 00:04:38 2005
This archive was generated by hypermail 2.1.8 : 2005-08-13 00:04:40 CEST