Re: [cc65] "none" target (was: LUnix)

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-01-16 03:18:07


On Wednesday 15 January 2003 18:28, Ullrich von Bassewitz wrote:
> Hi!
>
> On Sat, Jan 11, 2003 at 05:02:41AM +0100, Groepaz wrote:
> > at this point it should also be possible to use "-t none -C myown.cfg" to
> > instruct the linker to link the none.lib, but use my own linker config.
>
> So here is a proposal: I will add a "nonelib" target to the library
> makefile, so such a library can be built. I will not add a "none" startup
> file, and I will keep cl65 as is. That is, when using "-t none", neither
> the library is linked by default, nor a startup file. This is no big
> problem, because you can add these on the command line.

that will work i guess :)

however, it might also be good to able to use "-t c64 -C custom.cfg" atleast 
with cl65. (the -t c64 is required here to instruct cc65 to use the right 
character-translation table, even if you link init and lib manually).... for 
my taste the -t switch implies things that it shouldnt at this point, imho it 
should really only affect memory layout/startup code/std libraries (compare 
the gcc/ld -m switch) and other options should be set seperatly, or if 
implied by -t, it should be able to overide them somehow.

anyway...you can always achieve whatever you like by calling cc65/ca65/ld65 
manually, so its not really a problem at all... just involves a little bit to 
much manual work (/me lazy peep :=P)

-- 
          ___ ___ .___________________ .___________ _______.
    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.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-16 03:17:08 CET