LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Building an ARM7 cross compiler from gcc (http://www.linuxquestions.org/questions/linux-software-2/building-an-arm7-cross-compiler-from-gcc-83677/)

Charlie_B 08-19-2003 09:15 PM

Building an ARM7 cross compiler from gcc
 
hello guys I am trying to build a cross complier for my gameboy Advance. I have biuld gcc 3.0.3 and binutil-2.11.2. My problem is with biulding Newlib-1.11.0 when I run the configure script, there is no error but when I run the make command, I get the follow


yn_vec.c ..linked
libtool.m4 ..linked
MAINTAINERS ..linked
Makefile.am ..linked
Makefile.in ..linked
Makefile.shared ..linked
newlib.hin ..linked
NEWS ..linked
README ..linked
stamp-h.in ..linked
testsuite ..working in
config ..working in
default.exp ..linked
........

loading cache ../config.cache
configure: error: can not find install-sh or install.sh in .. ./..
make: *** [arm-thumb-elf/newlib/Makefile] Error 1

does anyone know why it can't find the file install-sh which I can see in the root directory of newlib?

thank in advance.

jhorvath 08-19-2003 09:46 PM

i had that same problem...

i think i fixed it by not installing it from the directory that newlib was in...i know it sounds retarded but i think it actually worked ;)

ie : say newlib is in /some/dir/newlib-1.11.0

do :

`cd /some/dir` *** don't cd into the newlib-1.11.0 directory
`newlib-1.11.0/configure && make && make install`

i'm almost positive that's what i had to do...not sure exactly why. those files that it cries about are plain as day in that directory ....

hope it works for ya...the gba is a cool machine ;)

Charlie_B 08-20-2003 08:59 AM

Thanks man, it works great now


All times are GMT -5. The time now is 05:58 AM.