Hi all,

I'm trying to integrate a toolchain for Digi ARM7 into Scratchbox. I've tried on both Scratchbox1 and Scratchbox2 but without success.

Here is what happens.

SCRATCHBOX 1

On Scratchbox 1 if I follow the instruction about Foreign Toolchains, I obtain:

$  ~/sb-toolchain-extras/confhelper/create_toolchain_conf.py

COMPILER_NAME = arm-elf
COMPILER_PACKAGE = <you have to fill in this one>
ALIEN_TC = no

CC_VER = 2.95
CC_GCCVER = 2.95.3
CC_FULLVER = 2:$(CC_GCCVER)
CC_DEBIAN_DIR = gcc-2.95-debian

#
# ERROR: Could not find machine info!
#




SCRATCHBOX 2

On Scratchbox2, instead, if I type

sb2-init test /usr/local/LxNETES-2.3/arm-elf/bin/arm-elf-gcc

I obtain

[...]
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

If I look at ~/.scratchbox2/libtool_build/config.log I read

gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)
configure:2849: $? = 0
configure:2856: gcc -V >&5
arm-elf-gcc: invalid version number format
configure:2859: $? = 1
configure:2882: checking for C compiler default output file name
configure:2909: gcc    conftest.c  >&5
cc1: Invalid option `-Wno-poison-system-directories'
configure:2912: $? = 1
configure:2950: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "1.5.26"
| #define PACKAGE_STRING "libtool 1.5.26"
| #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
| #define PACKAGE "libtool"
| #define VERSION "1.5.26"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2957: error: C compiler cannot create executables
See `config.log' for more details.


Please help.

Many thanks,

        Claudio
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to