This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem building newlib for arm


Hello!

I'm following this instructions:

http://linux.gbadev.org/gcc-gba/

I managed to build and compile my own games. But after formatting my pc I
tried to compile it again but now it's not working.

Thanks a lot!

David 


Jeff Johnston wrote:
> 
> davidgf wrote:
>> Hello,
>>
>> I've been looking to solve this error but I can't find much information
>> about it.
>>
>> When I compile newlib (gcc and binutils too) for ARM (Game Boy) 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.
>>
>> Thanks.
>>
>> David
>>   
> You'll have to provide more details.  What version of newlib are you 
> trying to use?
> 
> For starters, you should specify either arm-elf or thumb-elf as your 
> target.  IIRC, arm-elf builds arm with thumb support being a multilib 
> triggered via the -mthumb option.
> 
> You cannot configure directly in the newlib subdirectory.  The newlib 
> tarball is actually the top-level src directory with newlib and libgloss 
> subdirectories included.  You configure from the top-level.
> 
> If you have linked the newlib and libgloss subdirectories into another 
> source directory, check to see if the top-level merged directory has the 
> file: install-sh.  If not, add it by running automake --add-missing in 
> that top-level directory.
> 
> -- Jeff J.
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-building-newlib-for-arm-tp17189928p17250520.html
Sent from the Sourceware - newlib list mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]