Posted: Thu Nov 01, 2012 2:51 pm
Forgot to say, you need to run "make config" to create the missing cfg files.
Code: Select all
perl tools/make_init.pl memalloc.h strpool.h errors.h codearea.h
Code: Select all
use Modern::Perl;
...
use Win32::Autoglob;
use Template::Tiny;
Seems that the z80asm modules is still being updated, maybe you'd better wait until it's finished.wintermute wrote:Hope someone has better luck!
Code: Select all
cd z88dk
./build.sh
Code: Select all
rm -f strlcat_callee.o
rm -f strlcpy_callee.o
rm -f strlen.o
cd printflike ; make ; cd ..
make[1]: Nothing to be done for `all'.
cd time ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd rs232 ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd setjmp ; make ; cd ..
make[1]: Nothing to be done for `all'.
cd assert ; make ; cd ..
make[1]: Nothing to be done for `all'.
z80asm -d -ns -nm -Mo -x./z88net_clib @./z88net.lst
Error at file 'strings/string.lst' line 60: cannot read file 'strings/strrchr_callee.o'
1 errors occurred during assembly
make: *** [z88net_clib.lib] Error 1
cp ./*.lib ../lib/clibs
Code: Select all
rm -f strlcat_callee.o
rm -f strlcpy_callee.o
rm -f strlen.o
cd printflike ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd time ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[3]: Nothing to be done for `all'.
cd rs232 ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[3]: Nothing to be done for `all'.
cd setjmp ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd assert ; make ; cd ..
make[2]: Nothing to be done for `all'.
z80asm -d -ns -nm -Mo -x./z88net_clib @./z88net.lst
Error at file 'stdlib/stdlib.lst' line 45: cannot read file 'stdlib/delay.asm'
Error at file 'stdlib/stdlib.lst' line 47: cannot read file 'stdlib/sleep.asm'
Error at file 'stdlib/stdlib.lst' line 48: cannot read file 'stdlib/csleep.asm'
Error at file 'strings/string.lst' line 63: cannot read file 'strings/strrstr_callee.o'
4 errors occurred during assembly
make[1]: *** [z88net_clib.lib] Error 1
make: *** [libs] Error 2
Code: Select all
--- Building Z88 Network Aware Library ---
cd fcntl ; make lz88 ; cd ..
cd z88 ; make z88_fcntl ; cd ..
make[2]: Nothing to be done for `z88_fcntl'.
cd stdio ; make lz88net ; cd ..
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO fclose.c
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO fgetc.c
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO fputc_callee.c
zcc +z88 -O3 -vn -make-lib -Wn43 -DNET_STDIO freopen_z88.c
sccz80:"freopen_z88.c" L:51 Warning:#36:In function: freopen_z88() line 29
sccz80:"freopen_z88.c" L:51 Warning:#12:Converting far ptr to near ptr
sccz80:"freopen_z88.c" L:56 Warning:#9:Converting pointer to integer without cast
Sorry for the delay in testing this. I've downloaded a nightly (16/12/1013) and seems to be working fine.dom wrote:There's now a nightly build being produced for Mac OSX that includes the glib dependency - let me know how you get on with it.
Code: Select all
$ cd $HOME/z88dk
$ sh config.sh $HOME/z88dk/
Code: Select all
$ PATH=$HOME/z88dk/bin:$PATH
$ Z80_OZFILES=$HOME/z88dk/lib/
$ ZCCCFG=$HOME/z88dk/lib/config/
$ export PATH
$ export Z80_OZFILES
$ export ZCCCFG