Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-19-2003, 10:15 PM   #1
LQ Newbie
Registered: Aug 2003
Location: London UK
Posts: 3

Rep: Reputation: 0
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 ..linked ..linked
Makefile.shared ..linked
newlib.hin ..linked
NEWS ..linked
README ..linked ..linked
testsuite ..working in
config ..working in
default.exp ..linked

loading cache ../config.cache
configure: error: can not find install-sh or 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.
Old 08-19-2003, 10:46 PM   #2
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
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

Last edited by jhorvath; 08-19-2003 at 10:49 PM.
Old 08-20-2003, 09:59 AM   #3
LQ Newbie
Registered: Aug 2003
Location: London UK
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks man, it works great now


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 03:33 AM
cross compiler -> ppc_405-gcc marri Programming 0 08-19-2005 09:28 AM
cross compiler alpha_foobar Linux - General 0 08-17-2005 07:15 PM
help: gcc cross-compiler for m68000 worthij Linux - Software 0 11-09-2004 02:32 PM
Building cross-compiler gcc for powerpc-linux ccool Linux - General 3 09-17-2004 07:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration