Open
Description
Hi there.
So I tested out the project from running VSCode in Linux and installed from Marketplace. I then set the ROMs from the interface. Following the Quick-start guide until I was ready for example build. I then hit F5 and got these errors:
Compiling main.c
make: execvp: m68k-amiga-elf-gcc: Permission denied
make: *** [Makefile:69: obj/main.o] Error 127
* The terminal process "/bin/bash '-c', 'make -j4 program=out/a'" failed to launch (exit code: 2).
I then located the binaries and set executable bit. They are in various places so not easily fixed by hand. I progressed to this:
#include errors detected based on information provided by the configurationProvider setting. Squiggles are disabled for this ```
translation unit (/home/damien/Development/Amiga/VSC/main.c).
cannot open source file "proto/exec.h
cannot open source file "proto/dos.h
`
There were a few other include files it didn't find. They definitely exist in the sys-include folder. This was output in the terminal:
* Executing task: make -j4 program=out/a
Compiling main.c
Compiling support/gcc8_c_support.c
Assembling support/gcc8_a_support.s
Assembling support/depacker_doynax.s
Assembling support/depacker_doynax_vasm.asm
as: unrecognized option '-mcpu=68000'
as: unrecognized option '-mcpu=68000'
make: *** [Makefile:73: obj/gcc8_a_support.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:73: obj/depacker_doynax.o] Error 1
as: unrecognized option '-mcpu=68000'
make: *** [Makefile:69: obj/main.o] Error 1
as: unrecognized option '-mcpu=68000'
make: *** [Makefile:69: obj/gcc8_c_support.o] Error 1
* The terminal process "/bin/bash '-c', 'make -j4 program=out/a'" terminated with exit code: 2.
I'm unsure where it's pulling 'as' from. The unrecognized option would indicate the host one and not the Amiga one is being executed. Apart from that I cannot find any ELF file and only so objects for as binary.
Metadata
Metadata
Assignees
Labels
No labels