[gccsdk] Building GCC4 in Cygwin

Adam lists at snowstone.org.uk
Mon Jan 28 02:24:55 PST 2008


In message <276952654f.admin at snowstone.org.uk>, Adam wrote:

> In message <BAY101-W2094760EC5A0CEDD51C6B6F03E0 at phx.gbl>, alan buckley
> wrote:
> 
> > 
> > > On Wed Jan 16 20:06:12 GMT 2008  Adam wrote:
> > 
> > > Upon further investigation it seems there is some problem with the
> > > version of Autogen I've got. I'll try and get it sorted out and try
> > > again.
> > 
> > Have you got any further with this as I'd now like to try to build
> > GCC4 on Cygwin as well?
> 
> Unfortunately not :(

OK, I've got a bit further now. I've completed the built-it stage (but
blimey it took a long time - about a day on this dual-core machine). I
can. If anyone's interested in the (9MB!) log I can host it somewhere.

I wasn't quite sure from the instructions in the ReadMe if, after
built-it, I was supposed to have a completly-built installation, but I
haven't got a riscos directory anywhere, so I assumed not and continued
with the builddir-cross "make". Unfortunately that finished with an
error:


[snip]
Checking multilib configuration...
/home/adamr/gccsdk/gcc/srcdir/move-if-change: line 23: cmp: command not found
/bin/sh /home/adamr/gccsdk/gcc/srcdir/mkinstalldirs arm-unknown-riscos/libunixli
b ; \
        rm -f arm-unknown-riscos/libunixlib/Makefile || : ; \
        cp multilib.out arm-unknown-riscos/libunixlib/multilib.out
Configuring in arm-unknown-riscos/libunixlib
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache ./config.cache
configure: error: `CXX' has changed since the previous run:
configure:   former value:  /home/adamr/gccsdk/gcc/builddir-cross/./gcc/g++ -B/h
ome/adamr/gccsdk/gcc/builddir-cross/./gcc/ -nostdinc++  -L/home/adamr/gccsdk/gcc
/builddir-cross/arm-unknown-riscos/libstdc++-v3/src -L/home/adamr/gccsdk/gcc/bui
lddir-cross/arm-unknown-riscos/libstdc++-v3/src/.libs -B/home/adamr/gccsdk/gcc/b
uilddir-cross/arm-unknown-riscos/libunixlib/ -B/home/adamr/gccsdk/gcc/builddir-c
ross/arm-unknown-riscos/libunixlib/.libs/ -isystem /home/adamr/gccsdk/gcc/srcdir
/libunixlib/include -B/home/adamr/gccsdk/gcc/cross/arm-unknown-riscos/bin/ -B/ho
me/adamr/gccsdk/gcc/cross/arm-unknown-riscos/lib/ -isystem /home/adamr/gccsdk/gc
c/cross/arm-unknown-riscos/include -isystem /home/adamr/gccsdk/gcc/cross/arm-unk
nown-riscos/sys-include -L/home/adamr/gccsdk/gcc/builddir-cross/./ld
configure:   current value: /home/adamr/gccsdk/gcc/builddir-cross/./gcc/g++ -B/h
ome/adamr/gccsdk/gcc/builddir-cross/./gcc/ -nostdinc++ -nostdinc++ -I/home/adamr
/gccsdk/gcc/builddir-cross/arm-unknown-riscos/libstdc++-v3/include/arm-unknown-r
iscos -I/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-riscos/libstdc++-v3/in
clude -I/home/adamr/gccsdk/gcc/srcdir/libstdc++-v3/libsupc++ -I -I/home/adamr/gc
csdk/gcc/srcdir/libstdc++-v3/include/backward -I/home/adamr/gccsdk/gcc/srcdir/li
bstdc++-v3/testsuite -L/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-riscos/
libstdc++-v3/src -L/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-riscos/libs
tdc++-v3/src/.libs -B/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-riscos/li
bunixlib/ -B/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-riscos/libunixlib/
.libs/ -isystem /home/adamr/gccsdk/gcc/srcdir/libunixlib/include -B/home/adamr/g
ccsdk/gcc/cross/arm-unknown-riscos/bin/ -B/home/adamr/gccsdk/gcc/cross/arm-unkno
wn-riscos/lib/ -isystem /home/adamr/gccsdk/gcc/cross/arm-unknown-riscos/include
-isystem /home/adamr/gccsdk/gcc/cross/arm-unknown-riscos/sys-include -L/home/ada
mr/gccsdk/gcc/builddir-cross/./ld
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over

make[1]: *** [configure-target-libunixlib] Error 1
make[1]: Leaving directory `/home/adamr/gccsdk/gcc/builddir-cross'


Adam

-- 
Adam Richardson          Carpe Diem
http://www.snowstone.org.uk/riscos/




More information about the gcc mailing list