<@lle> MoZes: I think I got it working 00:58 <@lle> at least it built libc.so without any ldrh or strh instructions 01:13 <@lle> MoZes: scratchbox.org/~lleukkun/armv3l-linux-gcc-3.3_3.3.2ds5-glibc-2.3.2.ds1.tar.gz 01:15 <@lle> I'll commit the new toolchain building system in the morning 01:17 <@lle> to build a toolchain like that I run the build with "make install ARCH=arm SUB_ARCH=armv3l CPU=arm7" 01:18 <@lle> I don't know if we can create big-endian toolchains this way 01:19 <@lle> soft-float can be turned on by simply adding USE_SOFTFLOAT=yes to the command line 01:21 <@lle> -> to bed gcc -dumpspecs ... take *cc1_cpu:, copy it to the spec file you use and edit the march.. /scratchbox/compilers/(compilername)/gcc.specs 'as' needs the -mcpu stuff too to work properly... so basically I added 'subtarget_extra_asm_spec:\n-mcpu=xscale' and 'cpp_cpu_arch_default: -mcpu=xscale' to the gcc.spec it seemed to produce the same binaries as having -mcpu=xscale on the command line *cpp_cpu_arch_default: -D__ARM_ARCH_3__ -march=armv3m -mtune=strongarm110 I added 'subtarget_extra_asm_spec:\n-mcpu=xscale' and 'cpp_cpu_arch_default: -mcpu=xscale' to the gcc.spec <@macn> it seemed to produce the same binaries as having -mcpu=xscale on the command line <@thain> you just need the sbrsh module (you can download it via viewcvs) and the cross-compiler 13:10 <@thain> CC= make sbrshd Kernel build: make HOSTCC=host-gcc menuconfig make HOSTCC=host-gcc dep|bzImage http://www.pengutronix.de/software/ptxdist/patches-cvs/ Canadian cross, gcc: zwelch> CBUILD != CHOST != CCHOST 10:52 < zwelch> normal cross is 10:53 < zwelch> CBUILD != CHOST == CCHOST so, things that emit machine dependent code can be built with different CHOST and CCHOST that's a cross-compiler 10:53 < zwelch> because it'll run natively 10:54 < zwelch> now, if you're on x86.. 10:54 < zwelch> and want to build a ppc cross-compiler that runs on arm... 10:54 < zwelch> you need to do a canadian cross 10:54 < zwelch> the different there is that you break the CBUILD == CHOST link