Hi Matt,

Matt Baker schrieb:
> With sdcc -mz80 test.c I get
> at 1: error 131: cannot generate code for target 'z80'

>>> *"sdcc --version *reports
>>> SDCC : avr/pic16/pic14/xa51 2.8.0 #5117 (Jun  2 2008) (UNIX)

The SDCC you are using had been compiled for a subset of SDCC's
target CPUs. And Z80 is not among them. "sdcc --version" normally
gives something like:
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.0 
#5405 (Mar  3 2009) (UNIX)

Please follow the hint given by Gudjon (or build SDCC
yourself following section 2.4.1 of the manual).

Greetings,
Frieder

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to