intrinsic_halt not defined

Bug reports (if you don't/won't have a Github account)
Post Reply
einar
Member
Posts: 47
Joined: Fri Sep 06, 2013 4:23 pm

intrinsic_halt not defined

Post by einar »

When I try to compile example file "z88dk/libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_nirvanap/nirvanadem.c" (from latest z88dk distribution), I get the following error:

Code: Select all

> zcc +zx -vn -startup=1 -clib=new nirvanadem.c btile.asm -o nirvanadem
Key to filenames:
s7p8_.o = nirvanadem.c
s7p8_1.o = btile.asm
Error at file 's7p8_.opt' line 685: symbol 'intrinsic_halt' not defined
                   ^ ----       call    intrinsic_halt
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

Post by alvin »

Fixed in the March 2 build.

copt rules implementing intrinsics were only used when optimization level was -O3. Now the rules implementing intrinsics have been placed in a separate rules file that is always applied first for all sccz80 compiles.
einar
Member
Posts: 47
Joined: Fri Sep 06, 2013 4:23 pm

Post by einar »

Thanks!
Post Reply