[Scratchbox-devel] Help with Foreign toolchain configuration file

Edjard Mota edjard_mota at yahoo.com.br
Tue May 2 21:08:44 EEST 2006



Toni Timonen <ttimonen at movial.fi> escreveu: On Tue, May 02, 2006 at 01:09:28PM +0000, Edjard Mota wrote:
>    Toni Timonen  escreveu:

>      It looks like you have ran the create_toolchain_conf.py from
>      confhelper directory. It should be run from your compiler directory,
>      eg. /scratchbox/compilers/yourtoolchain/.

>    [sbox-HOST: /scratchbox/compilers/arm-none-linux-gnueabi] >
>    ~/sb-toolchain-extras/confhelper/create_toolchain_conf.py
>    COMPILER_NAME = arm-none-linux-gnueabi
>    COMPILER_PACKAGE = 
>    #
>    # ERROR: Could not find machine info!
>    #
>    BINUTILS_FULLVER = 2.16.91-sb1
> 
>    HEADERS_DIR = $(COMPILER_DIR)/libc/usr/include

Hmm..  
The headers are commonly located in
$(COMPILER_DIR)/arm-none-linux-gnueabi/usr/include. This looks like
you have extracted/installed the toolchain to too up in the directory
hierarchy.

When you extract/install the toolchain, everything should go under one
directory, eg.
/scratchbox/compilers/mycoolarmtoolchain/ and there should be
probably directories like
/scratchbox/compilers/mycoolarmtoolchain/arm-none-linux-gnueabi
/scratchbox/compilers/mycoolarmtoolchain/arm-none-linux-gnueabi/bin
/scratchbox/compilers/mycoolarmtoolchain/bin
etc.

That is, the /scratcbox/compilers
directory should have only toolchain subdirectories (maybe one named as
host-gcc) and a bin directory. Nothing should be directly extracted to /scratcbox/compilers/bin
(or /scratcbox/compilers/{lib,include,share,man,..}).


-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
Hi,

Many thanks. Corrections made as you suggested. I realised I had 
not extracted all sub-directories :).

Many thanks once again.

br

Edjard

		
---------------------------------
 Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-devel/attachments/20060502/c42e8d71/attachment.htm


More information about the Scratchbox-devel mailing list