Re: [cc65] library path

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-09-23 22:53:42
On Wed, Sep 23, 2009 at 10:26:33PM +0200, Thomas Giesel wrote:
> ld65: Error: Input file `c64.lib' not found
>
> I compiled it on Linux as usual using:
> make -f make/gcc.mak
> sudo make -f make/gcc.mak install
>
> And even when using the default paths I tried:
> export CC65_LIB=/usr/local/lib/cc65/lib
> export CC65_INC=/usr/local/lib/cc65/include
>
> It only works when I add -L /usr/local/lib/cc65/lib to the command line.
>
> Did I miss something?

Search path logic has changed a bit in the last few days. You may

  * change the builtin paths in the makefile. Or

  * set CC65_HOME to the base directory. Libraries are then searched in
    $CC65_HOME/lib, linker config files in $CC65_HOME/cfg and so on.

  * Or you may set

        CC65_INC
        LD65_CFG
        LD65_LIB
        LD65_OBJ

    to the individual directories.

CC65_LIB is completely gone. It was already marked as obsolete in version
2.12.

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 Sep 23 22:56:36 2009

This archive was generated by hypermail 2.1.8 : 2009-09-23 22:56:39 CEST