I've added the needed settings to my autoexec.bat, and renamed Ti83.cfg to
zcc.cfg...
But still the compiler-frontend (zcc cube.c[ENTER]) says "Couldn't find env
variable ZCCCFG"...
If I type "set" (show environment variables), then
"ZCCCFG = C:\dos\z88dk\lib\config"
is just in the list. Now do you know why it barfs at me?
also set:
PATH = .. .. ..;bin\ (should this be C:\dos\z88dk\bin ???)
Z80_OZFILES = C:\dos\z88dk\lib
It doesn't matter if I use my own compiled version of the compiler, or the
ones from Dennis Groningers page...
Henk Poley
_______________________________________________
z88dk-developers mailing list
z88dk-developers@...
http://lists.sourceforge.net/lists/listinfo/z88dk-developers
[z88dk-dev] getting compiler to work...
But still the compiler-frontend (zcc cube.c[ENTER]) says "Couldn't find
env
variable ZCCCFG"...
If I type "set" (show environment variables), then
"ZCCCFG = C:\dos\z88dk\lib\config"
is just in the list. Now do you know why it barfs at me?
Yup, I think you need the trailing slash - I don't do it within zcc
because of the nightmare of different '/' or '\' selections.
"trailing slash" is a slash at the end of the line?
or is it a "/" ("unix" slash, the wrong way around for DOS)
Or do you mean that I should use all "/"es instead of the DOS "\"???
(in the *.lnx AND in the autoexec.bat)
sorry about that, there's stuff in there to do an automatic prefix but it
defaults to c:\z88dk and the slash are the wrong way round <sigh>
Which means I can't use it?
A new thing:
if I give the FULL path of everything, I can get zcc to *work*.
I only gives about 5 errors (aka all the programs it calls to...)
I'll fiddel around with some setting, maybe I'll find the problem...
Henk Poley
_______________________________________________
z88dk-developers mailing list
z88dk-developers@...
http://lists.sourceforge.net/lists/listinfo/z88dk-developers
Oooo...freaky! I've not heard of this before, and I thought that DOS/Win
understood the concept for '/' from a C level (if not from a user level)
There's a big difference between DOS/Win, NT/2000 (and Solaris/Linux, of course
!)
_______________________________________________
z88dk-developers mailing list
z88dk-developers@...
http://lists.sourceforge.net/lists/listinfo/z88dk-developers
"trailing slash" is a slash at the end of the line?
or is it a "/" ("unix" slash, the wrong way around for DOS)
Yup, the trailing slash should be in the format of your machine.
Similarly
I'm guessing that all the '/' in the .cfg files should be changed to '\'
I've now added the "\" to the end of all the needed environment vars, it
now *works*....
sorry about that, there's stuff in there to do an automatic prefix
but it
defaults to c:\z88dk and the slash are the wrong way round <sigh>
Which means I can't use it?
I'm about to check in a new zcc.c to CVS which fixes the slash problem,
the prefix can be found in zcc.h. The prefix is only used when it can't
find a ZCCCFG env variable.
Okay, so if zcc can't find ZCCCFG it'll look in c:\z88dk\ (DOS) or
/usr/{user name}/z88dk/ (or something for *nix...).
A new thing:
if I give the FULL path of everything, I can get zcc to *work*.
I only gives about 5 errors (aka all the programs it calls to...)
Oooo...freaky! I've not heard of this before, and I thought that DOS/Win
understood the concept for '/' from a C level (if not from a user level)
hmm, I've "found" *it* (aka I haven't found out all, and it still doesn't
work).
after changing the env-vars (adding "\") and changing ti83.skl and copying
that to zcc.cfg. It didn't work, cp said it couldn't find the file (yes I
have cp, 1. else it couldn't give the error, and 2. I can view the help by
entering "cp" without options)
So now I've changed (in ZCC.CFG) "COPYCMD cp" into "COPYCMD copy". It now
works *better*, but still the assembler gives errors, mainly because it
can't find the references to the XDEF's
The next error was something like "can't open library file" by z80asm.
I came to the conclusion that it wanted to include "ti83_clib" which
doesn't exist. So I changed that in the ZCC.CFG into "ti83ansi_clib" which
does exist...
I think I have to include some libs/modules (or what you name it), but I
don't know which...
Sorry for this obfuscating mail...
Henk Poley