| View previous topic :: View next topic |
| Author |
Message |
impostor
Joined: 28 Mar 2007 Posts: 8
|
Posted: Tue Apr 03, 2007 8:29 am Post subject: crt0.o? |
|
|
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 |
|
 |
chrismulhearn
Joined: 22 Feb 2006 Posts: 80
|
Posted: Wed Apr 04, 2007 12:58 am Post subject: |
|
|
"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 |
|
 |
impostor
Joined: 28 Mar 2007 Posts: 8
|
|
| Back to top |
|
 |
jblaze2201
Joined: 05 Apr 2007 Posts: 3
|
|
| Back to top |
|
 |
impostor
Joined: 28 Mar 2007 Posts: 8
|
Posted: Tue Apr 10, 2007 4:12 am Post subject: |
|
|
| isn't there any such package but for use in linux Fedora Core 5? |
|
| Back to top |
|
 |
|