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 2014-09-04 20:56:14

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

Question: How to run the gbdk on gnu/linux

hello i have been trying to install the gbdk on fedora gnu/Linux for a while without success
when i download the gbdk directory i navigate to the bin directory and make a main.c file containing this:
#include <stdio.h>

int main(){
printf("This should compile\n");
return 0;
}

and type ./lcc main.c
in the terminal and i get the output:
./lcc: /usr/lib/gbdk/bin/sdcpp: No such file or directory

dose anyone know what i am doing wrong?


the version of the gbdk i downloaded was here:
http://downloads.sourceforge.net/projec … or=skylink


a cat in need of knowledge!!

Offline

 

#2 2014-09-08 11:48:06

danthai
New member
From: Brighton, UK
Registered: 2014-09-07
Posts: 6

Re: Question: How to run the gbdk on gnu/linux

I think you need to set the GBDKDIR.

export GBDKDIR=$HOME/gbdk/

Type that into terminal, or course change your location to where you've unzipped the gbdk files. For me it looked something like this

export GBDKDIR=Users/dan/documents/workspace/gameboy/gbdk/

Give it a try and then try to "make" it again.

Offline

 

#3 2014-09-12 08:13:12

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

Re: Question: How to run the gbdk on gnu/linux

sorry for a late reply
i have just run windows xp in virtualbox
and run gbdk from there
thanks for your help though
i will try this one day


a cat in need of knowledge!!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson