Re: [cc65] Changes between 2.10.1 and current 2.10.5?

From: Andy Dannelley <andyda1mac.com>
Date: 2005-06-05 20:29:20
On Jun 3, 2005, at 12:29 AM, Ullrich von Bassewitz wrote:

>
>> What I am curious about, is, is there something different about the 
>> way
>> 2.10.5 finds or where it expects the include files to be that is
>> different from 2.10.1?  If there is a difference, maybe I can modify
>> what I am doing to take it into account.
>
> If CC65_INC is #define'd when compiling cc65, the value of this symbol 
> is used
> as builtin search path for includes. If it is not #define'd,
> /usr/lib/cc65/include is used instead. Depending on your system, the 
> latter
> may not work. The path should of course match the location of the 
> include
> files on your system. This #define has also been in 2.10.1, but if the
> executable has been compiled by different people, the builtin paths may
> differ.

I was not using pre compiled binaries in either case. I am compiling 
from the source of cc65-2.10.1 and cc65-2.10.5 so I could see that 
there must heve been a difference between the makefiles included in 
cc65-2.10.1 and cc652.10.5.  Well, there is and it is what was causing 
my difficulties.

You were absolutely correct, it was the assignment of CC65_LIB and 
CC65_INC.

There is a significant difference in the way these are assigned between 
2.10.1 and 2.10.5.

In 2.10.1, the dirrective in FInk was setup so that it overode the 
asignement in the cc65 makefiles.

Because of the way that CC65_INC and CC65_lib are assigned in the 
2.10.5 version I could not find the correct way to write the Fink 
directive ( I tried several but none worked) to assign CC65_INC and 
CC65_LIB to something different than they were assignened in the 
makefiles.

I finally got cc65 2.10.5 to compile and work correcty by changing the 
path to CC65_lib and CC65_INC in several makefiles (the main makefile, 
the compiler makefile and the linker makefile.) now it works, but this 
is not the correct way to do this, there must be a way to get the 
proper directive in Fink so that modification of the makefiles is not 
required.

This is my next task, I need to find out more about Fink and makefiles 
so I can make a proper fix so I can use Fink to compile this version 
and future versions of cc65 without changing the makefiles.

Any help mch appreciated,

Thanks for prior help, it got me on the correct path to find a fix 
(though temporary) to my problem.

Later,

Andy

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Jun 5 20:29:09 2005

This archive was generated by hypermail 2.1.8 : 2005-06-05 20:29:12 CEST