Comments (5)
Hi. why did you need to modify tasks.json?
Do you have a 64-bit version of Windows?
I don't know why a installed GIT Bash would matter..
Did you just create a new project and tried to build? It should work out of the box.
from vscode-amiga-debug.
OK, here's the situation:
I'm still using Windows 7 so I don't have built-in bash [vendor's version] hence I use GIT Bash. It works quite alright most of the time.
I all boils down to VS/plugin inserting paths in a usual Windows form, with the drive letter and a colon, like this:
C:/Users/rafamiga/OneDrive/tmp/amiga/amiga-1st/support/
Now, GIT Bash does not subscribe to this convention, it uses a Unix-like one:
/c/Users/rafamiga/OneDrive/tmp/amiga/amiga-1st/support/
That's the reason I had to modify tasks.json; instead of variables I had to use hardcoded filenames like:
"command": "/c/Users/rafamiga/.vscode/extensions/bartmanabyss.amiga-debug-1.0.0/bin/gnumake.exe",
"PATH": "/c/Users/rafamiga/.vscode/extensions/bartmanabyss.amiga-debug-1.0.0/opt/bin/;/c/Users/rafamiga/.vscode/extensions/bartmanabyss.amiga-debug-1.0.0/bin"
because variables here seem to adhere to Windows convention.
I'm sorry for not describing it adequately.
I think the example will work out of the box, it starts compiling but the show stopper is the path inserted to m68k-amiga-elf-gcc and I bet other script commands as well – they stick to Windows convention. I'm looking for a way to change it and hence my question.
Maybe there's a VS setting to change C:\ convention to /c/ or maybe it's a plugin setting?
from vscode-amiga-debug.
OK, I did a little googling and found the same issue here:
Although there's no solution there, it's a good start to find the fix for my [and others'] problems.
from vscode-amiga-debug.
OK, it seems this tweak in tasks.json does the trick:
[...]
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "c:\\windows\\system32\\cmd.exe",
"args": ["/d", "/c"]
}
},
},
"tasks": [
{
[...]
from vscode-amiga-debug.
Glad it works for you.
from vscode-amiga-debug.
Related Issues (20)
- Profiler: Windows AppData/Local/Temp cleanup job HOT 1
- V1.7.0 does not fire up WinUAE/infinite loop HOT 6
- Unable to use amigalib. HOT 4
- Memory types in code sections HOT 3
- Add floppy or hard drive to emulator while debugging HOT 2
- Missing <proto/narrator.h> HOT 2
- any chance of getting stdlib? HOT 3
- fatal error: stdint.h: No such file or directory HOT 3
- MacOS: no more F5 to run the debugger HOT 2
- Resource bitmap colors are inverted. HOT 1
- Could the debug text font be changed? HOT 3
- Linker not always capable of resolving xref in vasm results HOT 3
- 'index' is not a constant expression when changing main.c to main.cpp HOT 1
- macOS/FS-UAE: Error: the description can't be converted into a problem matcher HOT 4
- MacOS : fatal error: cannot execute 'cc1': execvp: No such file or directory HOT 8
- settings.json wrong? HOT 3
- gcc8_a_support missing on new project HOT 3
- Emulator exited with code/signal 127 before debugger could connect. HOT 7
- fs-uae hang on macos sonoma HOT 46
- Display variable contents when exploring call stack HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-amiga-debug.