This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: CrossGCC FAQ build method not working


> On Sun, 2004-04-25 at 01:34, Dan Kegel wrote:
> Are you going to be running Linux on that SBC?
> What C library do you plan to use for the target?
> - Dan

Ok, when I try to configure newlib, it says "this configuration is not
supported in the following subdirectories...".

[seb@xerxes 12:02:30 newlib-build]$ ../newlib-1.12.0/configure  --target=i586-pc-linux-gnu \
    --prefix=/home/seb/crossdev/toolchain -v
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
     target-newlib target-libgloss
    (Any other directories should still work fine.)
....
[ snip checks for binutils, cross compilers ]


Having read the top level newlib configure.in, I find that these are
omitted for building for a ix86 linux target with a cross compiler.

The problem is that when I then run: 

#!/bin/bash
 
target=i586-linux
i=/home/seb/crossdev/toolchain/bin
 
make all \
        CC_FOR_TARGET=$i/${target}-gcc \
        AS_FOR_TARGET=$i/${target}-as \
        LD_FOR_TARGET=$i/${target}-ld \
        AR_FOR_TARGET=$i/${target}-ar \
        RANLIB_FOR_TARGET=$i/${target}-ranlib
 

Nothing gets built!:

[seb@xerxes 12:12:35 newlib-build]$ ./call_make
Configuring in etc
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
make[1]: Entering directory `/home/seb/crossdev/newlib-build/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/seb/crossdev/newlib-build/etc'
[seb@xerxes 12:13:08 newlib-build]$



Wonder what's up....


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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