forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling on linux
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
chi kitory



Joined: 17 Mar 2010
Posts: 28

PostPosted: Fri Apr 09, 2010 1:58 pm    Post subject: Reply with quote

TARGET = targetfilename
OBJS = main.o
LIBS =
LIBDIR =
BUILD_PRX = 1
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = HB name
PSPSDK=$(shell psp-config --pspsdk-path)
PSPLIBSDIR = $(PSPSDK)/..
include $(PSPSDK)/lib/build.mak
Back to top
View user's profile Send private message
coyotebean



Joined: 05 Dec 2009
Posts: 26

PostPosted: Fri Apr 09, 2010 7:08 pm    Post subject: Reply with quote

(sorry double post, please delete, thanks)
_________________
GBASP x1, GBM x2, NDSL x2, PSP 100X x3, PSP 200X x5, PSP 300X x3, PSP Go x2, Wii x1


Last edited by coyotebean on Fri Apr 09, 2010 7:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
coyotebean



Joined: 05 Dec 2009
Posts: 26

PostPosted: Fri Apr 09, 2010 7:16 pm    Post subject: Reply with quote

chi kitory wrote:
TARGET = targetfilename
OBJS = main.o
LIBS =
LIBDIR =
BUILD_PRX = 1
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = HB name
PSPSDK=$(shell psp-config --pspsdk-path)
PSPLIBSDIR = $(PSPSDK)/..
include $(PSPSDK)/lib/build.mak

You have extra space at the end all over the places.

and syntax error in your source:
Code:
pspDebugScreenInit();
SetupCallbacks();
int main() {
printf("Hello World")
sceKernelSleepThread()
return 0;
}


should something like (not sure if any issue with order of Init & Callbacks at runtime):
Code:

int main() {
pspDebugScreenInit();
SetupCallbacks();
printf("Hello World");
sceKernelSleepThread();
return 0;
}

_________________
GBASP x1, GBM x2, NDSL x2, PSP 100X x3, PSP 200X x5, PSP 300X x3, PSP Go x2, Wii x1
Back to top
View user's profile Send private message
chi kitory



Joined: 17 Mar 2010
Posts: 28

PostPosted: Fri Apr 09, 2010 10:57 pm    Post subject: Reply with quote

:O
coyotebean!!!! zomg it worked! :OOOOOOOOOOOOOOOOOOOOOOOOOOOO

So having the extra spaces at the end messed it up?
Thank you all for taking a whole month to help me with this problem! Thats pretty cool that you didn't give up on me!
Thanks everyone!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group