rolandshacks / vs64

C64 Development Environment for Visual Studio Code
Other
97 stars 16 forks source link

Can't specify custom configuration for linker #50

Closed moledzki closed 10 months ago

moledzki commented 10 months ago

Hi,

I can't use custom configuration file for linker because --config and -t options can't be enaled together. It seems that vs64 always add -t flag even when --config (or -C) option is defined. So after defining linkerFlags in config file:

"linkerFlags": [
        "--config",
        "myconfig.cfg"
    ],

ld65 is invoked with both --config and -t flag.

ld65 (...) --config myconfig.cfg -t c64
ld65: Error: Cannot use -C/-t twice
rolandshacks commented 10 months ago

Thanks for the feedback. Seems an easy thing to add, let me see if I can find some time for it soon.

rolandshacks commented 10 months ago

The issue should be fixed with the version 2.4.8

Please download and manually install from here: https://github.com/rolandshacks/vs64/releases/download/v2.4.8/vs64-2.4.8.vsix

The update will soon be released on the Visual Studio Code marketplace as well.

moledzki commented 10 months ago

Thanks, it's working now.