drmortalwombat / oscar64

Optimizing Small memory C Compiler Assembler and Runtime for C64
GNU General Public License v3.0
273 stars 24 forks source link

[[ not found #81

Closed polluks closed 2 months ago

polluks commented 2 months ago

$ make -f make/makefile
/bin/sh: 1: [[: not found
/bin/sh: 1: [[: not found
Compiling compiler file Assembler.o ...
Assembler messages:
Fatal error: can't create /home/stefan/g/oscar64/build/Assembler.o: No such file or directory
make: *** [make/makefile:46: Assembler.o] Error 1
$ PF_INFO=all pfetch
  _____      stefan@Stefan-PC
 /  __ \     os         Debian GNU/Linux 12 (bookworm) on Windows [WSL2]
|  /    |    host       x86_64
|  \___-     kernel     4.4.0-19041-Microsoft
-_           uptime     6m
  --_        pkgs       1801
             memory     8141M / 16335M
             disk       49G / 200G (25%)
             shell      bash
             term       xterm-256color
             resolution 3000x1920
drmortalwombat commented 2 months ago

It helps if you create the "build" folder manually, but I am not a linux expert, so I am unsure on how to fix the [[ shell issue

theflyingape commented 2 months ago

I believe [[ is bash syntax, not classic sh. @polluks can you modify make/makefile and make them single [ ... ] instead?