Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2015-08-24 20:09:28

clobber
New member
Registered: 2015-08-24
Posts: 2

GBDK-N: GBDK libraries updated for newer versions of SDCC

Found this project which looks promising and claims to be updated to support the latest SDCC: https://github.com/rotmoset/gbdk-n

This of course would be a great thing meaning one could use the latest SDCC assembler/compiler/linker instead of a 15 year old version riddled with bugs from the last release of the old GBDK.

However when I tried this out I ran into an issue where I cannot get "makebin" to build my ROM binary which I've described in more detail here: https://github.com/rotmoset/gbdk-n/issues/2

Anyone want to give this a shot?

Offline

 

#2 2015-08-25 04:31:21

a cat
Member
Registered: 2014-07-27
Posts: 98

Re: GBDK-N: GBDK libraries updated for newer versions of SDCC

i think this is a sdcc error try asking on there fourms:
http://sourceforge.net/p/sdcc/discussion/

but if you look at makebins source code here if the function that prints your error message:
http://paste.debian.net/304731/

*from makebin.c:
https://github.com/darconeous/sdcc/blob … /makebin.c

also if you dont include any library's and run a program like

/*Random Program That Dose not Need External Librays*/
void main(){
int i = 8;
int *p;

i = 9;
i = 4;

p = &i;

p += sizeof(i);

}

do you still get the error?

Last edited by a cat (2015-08-25 04:40:16)


a cat in need of knowledge!!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson