From: Groepaz (groepaz_at_gmx.net)
Date: 2003-01-19 00:44:54
On Saturday 18 January 2003 03:25, Greg King wrote:
> -----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. ;-)
????
i get an error on that ("can't use -t twice")
--
___ ___ .___________________ .___________ _______.
c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz]
gb / ' \ | | | / \ / \ | __)_ / | \ gp32
cgb \ . / | | |/ ' \| \/ | \ psx
gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc
-----\/-----'---------------\/--------\/---------\/
http://www.hitmen-console.org Hitmen WWW Headquarters
http://fly.to/hitmen-groepaz my personal playground
http://rr.c64.org/silversurfer home of the RR debugger
ftp.musoftware.de/pub/groepaz cc65 dump site
----------------------------------------------------------------------
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-19 00:43:53 CET