Help with building using ca65 [message #365505] |
Wed, 21 March 2018 22:15 |
|
Originally posted by: James Keim
I really don't know what I'm doing but I'm interested in compiling the dclock.system to use with my new Ramexpress II+ card. I want to try the version located here:
https://gist.github.com/mgcaret/7f0d7aeec169e90809c7cfaab9bf 183b
However, when I try to follow the instructions, I run into a problem at this command:
ld65 -t none -o dclock.system dclock.system.o
I receive an error that says:
ld65: Error: Cannot find config file `none.cfg'
I'm using Arch Linux updated last week. ca65/ld65 V2.16 - Git d54d46c. Googling a bit suggests that if I use "-t none" that I also have to "-C config.cfg" but I'm not sure what config.cfg should be.
Anyone run into this before? What am I missing?
Thanks,
James
|
|
|
Re: Help with building using ca65 [message #365506 is a reply to message #365505] |
Wed, 21 March 2018 22:17 |
|
Originally posted by: James Keim
On Wednesday, March 21, 2018 at 9:15:11 PM UTC-5, James Keim wrote:
> I really don't know what I'm doing but I'm interested in compiling the dclock.system to use with my new Ramexpress II+ card. I want to try the version located here:
>
> https://gist.github.com/mgcaret/7f0d7aeec169e90809c7cfaab9bf 183b
>
> However, when I try to follow the instructions, I run into a problem at this command:
> ld65 -t none -o dclock.system dclock.system.o
>
> I receive an error that says:
> ld65: Error: Cannot find config file `none.cfg'
>
> I'm using Arch Linux updated last week. ca65/ld65 V2.16 - Git d54d46c. Googling a bit suggests that if I use "-t none" that I also have to "-C config.cfg" but I'm not sure what config.cfg should be.
>
> Anyone run into this before? What am I missing?
>
> Thanks,
> James
Sorry. I meant to post this is CSA2.programmer ...
|
|
|
Re: Help with building using ca65 [message #365520 is a reply to message #365506] |
Thu, 22 March 2018 03:19 |
|
Originally posted by: James Davis
On Wednesday, March 21, 2018 at 7:17:56 PM UTC-7, James Keim wrote:
> On Wednesday, March 21, 2018 at 9:15:11 PM UTC-5, James Keim wrote:
>> I really don't know what I'm doing but I'm interested in compiling the dclock.system to use with my new Ramexpress II+ card. I want to try the version located here:
>>
>> https://gist.github.com/mgcaret/7f0d7aeec169e90809c7cfaab9bf 183b
>>
>> However, when I try to follow the instructions, I run into a problem at this command:
>> ld65 -t none -o dclock.system dclock.system.o
>>
>> I receive an error that says:
>> ld65: Error: Cannot find config file `none.cfg'
>>
>> I'm using Arch Linux updated last week. ca65/ld65 V2.16 - Git d54d46c. Googling a bit suggests that if I use "-t none" that I also have to "-C config.cfg" but I'm not sure what config.cfg should be.
>>
>> Anyone run into this before? What am I missing?
>>
>> Thanks,
>> James
>
> Sorry. I meant to post this is CSA2.programmer ...
If you did it here on google groups, then you can delete it on google groups.
But it will still remain on comp.sys.apple2.
|
|
|
Re: Help with building using ca65 [message #365949 is a reply to message #365505] |
Sun, 01 April 2018 12:34 |
Payton Byrd
Messages: 1198 Registered: December 2011
Karma: 0
|
Senior Member |
|
|
On Wednesday, March 21, 2018 at 9:15:11 PM UTC-5, James Keim wrote:
> I really don't know what I'm doing but I'm interested in compiling the dclock.system to use with my new Ramexpress II+ card. I want to try the version located here:
>
> https://gist.github.com/mgcaret/7f0d7aeec169e90809c7cfaab9bf 183b
>
> However, when I try to follow the instructions, I run into a problem at this command:
> ld65 -t none -o dclock.system dclock.system.o
>
> I receive an error that says:
> ld65: Error: Cannot find config file `none.cfg'
>
> I'm using Arch Linux updated last week. ca65/ld65 V2.16 - Git d54d46c. Googling a bit suggests that if I use "-t none" that I also have to "-C config.cfg" but I'm not sure what config.cfg should be.
>
> Anyone run into this before? What am I missing?
>
> Thanks,
> James
"none" is not a valid target. You need to use a target that cc65 knows about, or build your own cfg file that locates all the code, data, and stack so the linker knows how to organize the outputs.
|
|
|
Re: Help with building using ca65 [message #365951 is a reply to message #365949] |
Sun, 01 April 2018 15:20 |
|
Originally posted by: MG
On Sunday, April 1, 2018 at 9:34:47 AM UTC-7, Payton Byrd wrote:
> "none" is not a valid target. You need to use a target that cc65 knows about, or build your own cfg file that locates all the code, data, and stack so the linker knows how to organize the outputs.
Funny, because it's the first one listed in the documentation.
https://cc65.github.io/doc/ld65.html#ss2.2
"-t sys, --target sys
The argument for the -t switch is the name of the target system. Since this switch will activate a default configuration, it may not be used together with the -C option. The following target systems are currently supported:
none
...."
MG
|
|
|
Re: Help with building using ca65 [message #365952 is a reply to message #365951] |
Sun, 01 April 2018 15:40 |
Steve Nickolas
Messages: 2039 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Sun, 1 Apr 2018, MG wrote:
> On Sunday, April 1, 2018 at 9:34:47 AM UTC-7, Payton Byrd wrote:
>> "none" is not a valid target. You need to use a target that cc65 knows about, or build your own cfg file that locates all the code, data, and stack so the linker knows how to organize the outputs.
>
> Funny, because it's the first one listed in the documentation.
>
> https://cc65.github.io/doc/ld65.html#ss2.2
>
> "-t sys, --target sys
> The argument for the -t switch is the name of the target system. Since this switch will activate a default configuration, it may not be used together with the -C option. The following target systems are currently supported:
>
> none
> ..."
>
> MG
>
And there *is* a none.cfg in my cc65 folder, FWIW.
-uso.
|
|
|