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] |
Yes - lower case helped (oversite, "my bad" - sorry ). Then I faced and resolved the next test (after the AR test) issue: test expected: powerpc-860-linux-gnu-gcc, which I did not have - instead I had two identical copies of "pre-existant" cross-compiler, built outside of "cross-tool" in my /usr/local/bin directory: $ ls -l /usr/local/bin/powerpc-linux-gcc.exe -rwx------+ 1 apovolot ???????? 109056 Jul 20 09:59 /usr/local/bin/powerpc-linux-gcc.exe $ ls -l /usr/local/bin/powerpc-linux-gcc-3.3.2 -rwx------+ 1 apovolot ???????? 109056 Jul 20 09:59 /usr/local/bin/powerpc-linux-gcc-3.3.2 note that: $ /usr/local/bin/powerpc-linux-gcc.exe --version powerpc-linux-gcc (GCC) 3.3.2 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so I have created the 3rd copy there (/usr/local/bin) $ ls -l /usr/local/bin/powerpc-860-linux-gnu-gcc -rwx------ 1 apovolot mkgroup- 109056 Oct 4 23:23 /usr/local/bin/powerpc-860-linux-gnu-gcc to pass thru the test - that worked ... but about an hour (and a half) later ... it came to error: .... .... TARGET_CPU_DEFAULT="" \ HEADERS="ansidecl.h" DEFINES="" \ /bin/sh /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/build/powerp c-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/mkconfig.sh tconfig.h echo '#define FLOAT' > fp-bit.c cat /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/build/powerpc-86 0-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/config/fp-bit.c >> fp-bit.c cat /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/build/powerpc-86 0-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/config/fp-bit.c > dp-bit.c powerpc-860-linux-gnu-gcc -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-string s -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./in clude -I. -I. -I/cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/bui ld/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc -I/cygdrive/d/Profi les/apovolot/crosstool/crosstool-0.28-rc36/build/powerpc-860-linux-gnu/gcc-3.4.1 -glibc-2.3.3/gcc-3.4.1/gcc/. -I/cygdrive/d/Profiles/apovolot/crosstool/crosstool -0.28-rc36/build/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/../in clude -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno- zero-initialized-in-bss -fno-unit-at-a-time -msdata=none \ -Dinhibit_libc -c /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/ build/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/crtstuff.c -DCRT _BEGIN \ -o crtbegin.o cc1: error: unrecognized option `-Wold-style-definition' cc1: error: unrecognized option `-fno-unit-at-a-time' make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory `/cygdrive/d/Profiles/apovolot/crosstool/crosstool-0. 28-rc36/build/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-gcc-core/gcc' make: *** [all-gcc] Error 2 Alexander Povolotsky wrote: > $ cat ./.bash_profile > . ~/.bashrc > export CVSROOT=:pserver:@anonymous@cvs.sourceforge.net:/cvsroot/lkmpg > export CVSROOT > GCC_HOST="powerpc-linux-gnu" > export GCC_HOST > CC="powerpc-linux-gcc-3.3.2" > export CC > AR="powerpc-linux-ar.exe" > EXPORT AR Try spelling EXPORT in lower case, maybe that will help. Alternately, try leaving off the .exe on AR, too. Verify with env that AR is set. > $ sh -x ./demo.sh > + set -x > + TARBALLS_DIR=/cygdrive/d/Profiles/apovolot/downloads > + export TARBALLS_DIR RESULT_TOP > + sh demo-ppc860.sh > ... > hangs - note that above line doesn't point to the local directory ... ? The ./ isn't needed, really, it's a total no-op. Where is demo-ppc860.sh hanging? ________________________________________________________________ Get your name as your email address. Includes spam protection, 1GB storage, no ads and more Only $1.99/ month - visit http://www.mysite.com/name today! ------ 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] |