rgb2sdas Conflicting sdcc options
odrevet opened this issue · comments
DREVET Olivier commented
When build the GBDK 4.1.0 example program I got the following error:
#Build the rom!
../../gbdk/bin/lcc -I../include -o output.gb gbdk_player_example.c hUGEDriver.obj.o sample_song.c
gbdk_player_example.c:
sample_song.c:
?ASlink-Warning-Conflicting sdcc options:
"-msm83" in module "gbdk_player_example" and
"-mgbz80" in module "hUGEDriver_obj".
make: *** [Makefile:10 : all] Erreur 1
This can be fix by changing the lien 593 of rgb2sdas.pas from
Writeln(F, 'O -mgbz80');
to Writeln(F, 'O -msm83');