Problems with Windows installer, v1.8.0
Posted: Sun Oct 12, 2008 6:51 pm
Hi,
Please excuse me if I'm doing something stupid here, I'm new to z88dk...
Having run the installer (I'm using Windows Vista, for my sins), and added the Path environment variable, my environmnent variables look like this:
As a test, I've opened a DOS prompt, navigated to the SAM Coupe examples directory (that's the platform I'm interested in compiling for), and tried to build the hello world program, with the following results:
Everything seems to be fine from the output (I think?) but I don't see any files generated, either in the examples folder or the Temp folder. I've tried again, this time trying to generate the assembly file rather than the compiled binary, and I get this:
It's having some weird access problems trying to copy things out of the temporary folder. I'm not convinced that it's even managing to create those files in the temporary folder in the first place. If I do the same again with -O0 on the command line, it skips the copt step but still fails to play nicely with the temporary folders. I've tried setting the environment paths to point to other Temp folders (the C:\Users\Steve\AppData\Local\Temp\ just seems to have been the default), but I'm not having any better luck with those folders either.
What am I doing wrong?
Please excuse me if I'm doing something stupid here, I'm new to z88dk...
Having run the installer (I'm using Windows Vista, for my sins), and added the Path environment variable, my environmnent variables look like this:
Code: Select all
Path: C:\Program Files\z88dk\bin
TEMP: C:\Users\Steve\AppData\Local\Temp
TMP: C:\Users\Steve\AppData\Local\Temp
Z80_OZFILES: C:\Program Files\z88dk\lib\
ZCCCFG: C:\Program Files\z88dk\lib\config\
Code: Select all
C:\Program Files\z88dk\examples\sam>zcc +sam hello.c -o hello
copy C:\PROGRA~1\z88dk\lib\sam_crt0.opt C:\Users\Steve\AppData\Local\Temp\s3es_1
.opt
1 file(s) copied.
copy C:\Users\Steve\AppData\Local\Temp\s3es_1.opt C:\Users\Steve\AppData\Local\T
emp\s3es_1.asm
1 file(s) copied.
zcpp -I. -DZ80 -DSMALL_C -DSAM -D__SAM__ -DSCCZ80 -IC:\PROGRA~1\z88dk\include h
ello.c C:\Users\Steve\AppData\Local\Temp\s3es_.i
sccz80 -// C:\Users\Steve\AppData\Local\Temp\s3es_.i
copt C:\PROGRA~1\z88dk\lib\z80rules.2 < C:\Users\Steve\AppData\Local\Temp\s3es_.
asm > C:\Users\Steve\AppData\Local\Temp\s3es_.op1
copt C:\PROGRA~1\z88dk\lib\z80rules.1 < C:\Users\Steve\AppData\Local\Temp\s3es_.
op1 > C:\Users\Steve\AppData\Local\Temp\s3es_.opt
z80asm -eopt -ns -Mo C:\Users\Steve\AppData\Local\Temp\s3es_.opt
z80asm -a -m -Mo -ohello -iC:\PROGRA~1\z88dk\lib\clibs\ndos -iC:\PROGRA~1\z88dk
\lib\clibs\sam_clib -iC:\PROGRA~1\z88dk\lib\clibs\z80_crt0 C:\Users\Steve\AppD
ata\Local\Temp\s3es_1.opt C:\Users\Steve\AppData\Local\Temp\s3es_.o
C:\Program Files\z88dk\examples\sam>
Code: Select all
C:\Program Files\z88dk\examples\sam>zcc +sam hello.c -o hello -a
zcpp -I. -DZ80 -DSMALL_C -DSAM -D__SAM__ -DSCCZ80 -IC:\PROGRA~1\z88dk\include h
ello.c C:\Users\Steve\AppData\Local\Temp\s5os_.i
sccz80 -// C:\Users\Steve\AppData\Local\Temp\s5os_.i
copt C:\PROGRA~1\z88dk\lib\z80rules.2 < C:\Users\Steve\AppData\Local\Temp\s5os_.
asm > C:\Users\Steve\AppData\Local\Temp\s5os_.op1
copt C:\PROGRA~1\z88dk\lib\z80rules.1 < C:\Users\Steve\AppData\Local\Temp\s5os_.
op1 > C:\Users\Steve\AppData\Local\Temp\s5os_.opt
copy C:\Users\Steve\AppData\Local\Temp\s5os_.opt hello.opt
Access is denied.
0 file(s) copied.
Couldn't copy output files
C:\Program Files\z88dk\examples\sam>
What am I doing wrong?