LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 08-19-2003, 09:15 PM   #1
Charlie_B
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
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.
 
Old 08-19-2003, 09:46 PM   #2
jhorvath
Member
 
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 09:49 PM.
 
Old 08-20-2003, 08:59 AM   #3
Charlie_B
LQ Newbie
 
Registered: Aug 2003
Location: London UK
Posts: 3

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 02:33 AM
cross compiler -> ppc_405-gcc marri Programming 0 08-19-2005 08:28 AM
cross compiler alpha_foobar Linux - General 0 08-17-2005 06:15 PM
help: gcc cross-compiler for m68000 worthij Linux - Software 0 11-09-2004 01:32 PM
Building cross-compiler gcc for powerpc-linux ccool Linux - General 3 09-17-2004 06:33 AM


All times are GMT -5. The time now is 05:28 PM.

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