gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Compiling newlib for GBA

#156770 - davidgf - Tue May 13, 2008 9:27 pm

Hello!

I don't know if this goes there, but I can't find more information on this.

I managed to compile a GBA toolchain and strat building some games, but now, after formatting my Debian 4 I can't compile it.

The problem seems to be in newlib (and maybe with automake). I got this error:

configure: error: can not find install-sh or install.sh in .. ./.

I have installed automake, autoconf, and all the required stuff. Where is the problem?

I unzip the source and I run ./configure --target=arm-thumb-elf. Then I run make.

If anybody can help me I would be really happy.

Thanks a lot

David

#156806 - tepples - Wed May 14, 2008 1:01 am

Are you trying to compile on a host architecture other than x86 or x86-64?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#156818 - davidgf - Wed May 14, 2008 6:13 am

No, but I prefer to compile it by myself.

#156851 - darkchild - Wed May 14, 2008 7:54 pm

no, what he meant is,

is the system your using X86 or is it 64Bits? (Generally X86)

#156854 - davidgf - Wed May 14, 2008 8:51 pm

yeah, I know,

Im using x86, but I don't want to use any devkit, I want to compile my own copy of gcc, binutils and newlib.

Check linux.gbadev.org

If anyone could help...

#156872 - tepples - Thu May 15, 2008 12:31 am

Perhaps you could just download the versions of GCC, Binutils, newlib, and GNU libstdc++ that correspond to some version of devkitARM, and then apply devkitPro's patches on top of them.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#156894 - davidgf - Thu May 15, 2008 11:47 am

I'll try it, but some months ago I managed to compile them without patches and now I'm trying with the same sources (I backuped them into a CD).

It seems an automake error, because the message is that it cannot found a file which is gerenated by configure.

Anyway thanks for your interest! ;)

David