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 

crt0.o?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
impostor



Joined: 28 Mar 2007
Posts: 8

PostPosted: Tue Apr 03, 2007 8:29 am    Post subject: crt0.o? Reply with quote

Hey guys, I've been trying to compile the gcc 4.1.0, with the psp toolchain. "Have been trying" - you read well. Been trying because after +/- 20min of compiling the script gives me an error and asks me to check the file config.log. This is the part of the file i found being more relevant:

Code:
configure:2310: /home/impostor/toolchain/gcc-4.1.0/build-psp/./gcc/xgcc -B/home/impostor/toolchain/gcc-4.1.0/build-psp/./gcc/ -B/psp/bin/ -B/psp/lib/ -isystem /psp/include -isystem /psp/sys-include -O2 -g -O2    conftest.c  >&5
/usr/local/pspdev/psp/bin/ld: crt0.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2313: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libssp"
| #define PACKAGE_TARNAME "libssp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libssp 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libssp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2352: error: C compiler cannot create executables


Can someone tell me what this file "crt0.o" is for, and where I have to put it?

Note: I'm using a linux Fedora Core 5
Back to top
View user's profile Send private message MSN Messenger
chrismulhearn



Joined: 22 Feb 2006
Posts: 80

PostPosted: Wed Apr 04, 2007 12:58 am    Post subject: Reply with quote

"crt" stands for "c runtime". Its a place where architecture-specific code is supposed to go to get everything in a sane state I guess. It contains the very first bit of code that is run when your program starts up.

So from what I understand here from "trying to compile gcc 4.1.0 with the PSP toolchain", you are attempting to build a gcc that will on the PSP? The PSP toolchain is a cross-compiler, meaning that it runs on your PC but it targets the PSP.

What is your actual intention?
Back to top
View user's profile Send private message
impostor



Joined: 28 Mar 2007
Posts: 8

PostPosted: Wed Apr 04, 2007 3:31 am    Post subject: Reply with quote

I'm trying to install the PSP toolchain in order to start PSP programming. I'm following this (http://wiki.ps2dev.org/psp:programming_faq) FAQ.
Back to top
View user's profile Send private message MSN Messenger
jblaze2201



Joined: 05 Apr 2007
Posts: 3

PostPosted: Thu Apr 05, 2007 12:58 pm    Post subject: Reply with quote

try this http://www.psp-programming.com/forums/index.php?PHPSESSID=th31a371n55nu3mnbmg62qff86&topic=727 precompiled environment or

http://www.psp-programming.com/forums/index.php?PHPSESSID=th31a371n55nu3mnbmg62qff86&topic=62 cygwin psp setup in 10 easy steps
Back to top
View user's profile Send private message
impostor



Joined: 28 Mar 2007
Posts: 8

PostPosted: Tue Apr 10, 2007 4:12 am    Post subject: Reply with quote

isn't there any such package but for use in linux Fedora Core 5?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
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