| View previous topic :: View next topic |
| Author |
Message |
kizura
Joined: 21 Oct 2007 Posts: 3
|
Posted: Sun Oct 21, 2007 9:21 pm Post subject: GCJ: How To? |
|
|
Hi,
I checked out http://www.oopo.net/consoledev/
and everything works fine (except 009-psplinkusb.sh, which is not a
tragedy).
I tried to get GCJ (GNU Compiler for Java) to work, by just editing
005-gcc-4.1.0-stage2.sh
Line 17:
| Code: |
../configure --prefix="$PSPDEV" --target="psp" --enable-languages="c,c++,java" --with-newlib --enable-cxx-flags="-G0" || { exit 1; }
|
Is this all I have to do, or is there more to be done?
kizura
PS
I am not a C/C++ coder - so please don't try to convince me ;) |
|
| Back to top |
|
 |
ufoz
Joined: 10 Nov 2005 Posts: 86 Location: Tokyo
|
Posted: Mon Oct 22, 2007 1:34 am Post subject: |
|
|
| I think it's not as much a matter of convincing, as it is a problem of the (non-) existence of libraries or C bindings that would let you get anything done. (unless I missed something) |
|
| Back to top |
|
 |
kizura
Joined: 21 Oct 2007 Posts: 3
|
Posted: Mon Oct 22, 2007 2:43 am Post subject: |
|
|
| True, but one could use JNI or CNI to access C/C++ routines. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Oct 22, 2007 3:13 am Post subject: |
|
|
| Some things turn out to be easy, like libFLAC was. Somehow I doubt gcj will be easy, but you never know until someone tries it. |
|
| Back to top |
|
 |
PSPJunkie
Joined: 23 Jan 2007 Posts: 14 Location: Jersey
|
Posted: Mon Oct 22, 2007 7:15 am Post subject: |
|
|
| I researched into getting Objective-C to work, and I was able to get everything together, but I ended up getting linker errors... You can try, and good luck if you succeed. |
|
| Back to top |
|
 |
kizura
Joined: 21 Oct 2007 Posts: 3
|
Posted: Mon Oct 22, 2007 7:58 pm Post subject: |
|
|
It did compile, but now I am getting this error message:
| Code: |
$ psp-gcj
psp-gcj: libgcj.spec: No such file or directory
|
I am using cygwin with Win XP.
kizura |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
|
| Back to top |
|
 |
|