Also: a hint to get GBDK to work
(This might be a big workaround, but at least it works..)
Place the GBDK folder in the root of your harddisk. (e.g. C:\GBDK\ or D: or whatever..)
Place the main .c file in the folder: examples/gb/
in the main .c file, make the links to the .map and the tiles.c file:
#include <gb/tiles.c>
#include <gb/map.map>
after that, place the tiles and map file in the folder: include/gb
Now, when all the files are in place and properly named, Make a .bat file containing the following lines:
..\..\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o *YOURFILENAME*.o *YOURFILENAME*.c
..\..\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o *YOURFILENAME*gb *YOURFILENAME*.o
(of course, replace the *YOURFILENAME* with your file name )
make sure the .bat is in the same folder as your main .c file (examples/gb)
Run the .bat file (this can take a while)
And see if it gives errors.