Comments (16)
Does it work when passing a quoted path to lcc?
If I recall there is some handling in lcc for path quoting.
from gbdk-2020.
No. Nothing makes it work. I noticed its entirely related to if its on a non C:\ drive. Drive D:\ is not a network drive, its just a second hard drive
from gbdk-2020.
Thanks for the screen shots.
Can you run that same command with -v as an lcc argument? it will show the build steps as lcc tries to execute them.
I have an idea about what might be going on (the issue doesn't seem to occur on linux, so it'll take some more time to get my testing set up)
from gbdk-2020.
from gbdk-2020.
Thanks
from gbdk-2020.
Just confirming reproduction of this on a D drive folder with some spaces.
Since it doesn't appear to be a new issue, resolving it may get bumped until after the upcoming release.
Also noting for future reference this transient cc1 path error that appeared to self correct (?) on the second run on a C drive folder with spaces.
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre>cd examples\gb\template_minimal
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples\gb\template_minimal>compile.bat
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples\gb\template_minimal>REM Automatically generated from Makefile
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples\gb\template_minimal>..\..\..\bin\lcc -o Example.gb main.c
sdcpp.exe: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory
compilation terminated.
at 1: warning 190: ISO C forbids an empty translation unit
subprocess error 1
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples\gb\template_minimal>compile.bat
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples\gb\template_minimal>REM Automatically generated from Makefile
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples\gb\template_minimal>..\..\..\bin\lcc -o Example.gb main.c
c:\gb\gbdk_4.2.0\gbdk 4.2.0 pre\examples>
from gbdk-2020.
Had reproduced it earlier, but now it seems to compile without issue. Guess will have to test more and see what comes up.
d:\GB Space\examples\gb\colorbar>..\..\..\bin\lcc -Wa-l -Wl-m -v -c -o colorbar.o colorbar.c
..\..\..\bin\lcc $Id: lcc.c,v 2.0 2023/06/01 23:14:24 gbdk-2020 Exp $
"d:\GB Space\"bin/sdcc -msm83 --no-std-crt0 --fsigned-char --use-stdout -D__PORT_sm83 -D__TARGET_gb -Wa-pogn -I"d:\GB Space\"lib/gb -DINT_16_BITS -I"d:\GB Space\"include -c colorbar.c -o colorbar.o
d:\GB Space\examples\gb\colorbar>..\..\..\bin\lcc -Wa-l -Wl-m -v -Wm-yC -o colorbar.gb colorbar.o
..\..\..\bin\lcc $Id: lcc.c,v 2.0 2023/06/01 23:14:24 gbdk-2020 Exp $
"d:\GB Space\"bin/sdldgb -n -i -m -g _shadow_OAM=0xC000 -g .STACK=0xE000 -g .refresh_OAM=0xFF80 -b _DATA=0xC0A0 -b _CODE=0x0200 -k "d:\GB Space\"lib/sm83/ -l sm83.lib -k "d:\GB Space\"lib/gb/ -l gb.lib colorbar.ihx "d:\GB Space\"lib/gb/crt0.o colorbar.o
"d:\GB Space\"bin/ihxcheck colorbar.ihx
"d:\GB Space\"bin/makebin -yN -Z -yC colorbar.ihx colorbar.gb
d:\GB Space\examples\gb\colorbar>
d:\GB Space\examples\gb\colorbar>make clean
rm -f *.o *.lst *.map *.gb *.ihx *.sym *.cdb *.adb *.asm
d:\GB Space\examples\gb\colorbar>make
../../../bin/lcc -Wa-l -Wl-m -c -o colorbar.o colorbar.c
../../../bin/lcc -Wa-l -Wl-m -Wm-yC -o colorbar.gb colorbar.o
d:\GB Space\examples\gb\colorbar>
d:\GB Space\examples\gb\colorbar>compile.bat
d:\GB Space\examples\gb\colorbar>REM Automatically generated from Makefile
d:\GB Space\examples\gb\colorbar>..\..\..\bin\lcc -Wa-l -Wl-m -c -o colorbar.o colorbar.c
d:\GB Space\examples\gb\colorbar>..\..\..\bin\lcc -Wa-l -Wl-m -Wm-yC -o colorbar.gb colorbar.o
d:\GB Space\examples\gb\colorbar>
from gbdk-2020.
Related Issues (20)
- Lack of crt0.lst in gbdk-lib installation prevents use of -u linker option HOT 8
- Bug: f_min font has capital 'U' remapped to 'K' on Z80 targets
- Change naming HOT 2
- Clarify various licenses used by GBDK-2020 HOT 30
- Makefile fails looking for GLIBC_2.29, gives "Error 2" HOT 1
- Broken links in documentation HOT 1
- Let png2asset accept list of files HOT 2
- lcc -E not working HOT 4
- Why background tiles displays randomly in the screen? HOT 1
- Include nixpkg derivation HOT 9
- lcc fails on casting anonymous function pointer HOT 3
- Test current sdcc (before 4.3.0 release) HOT 6
- Install on mac? HOT 3
- lcc unknown developer HOT 9
- 4.2 Release
- Unable To Compile HOT 3
- Pointer Error HOT 1
- mac installing
- Strip -p arg from mkdir in generated compile.bat files
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 gbdk-2020.