This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: CrossGcc Cygwin1


I failed to build CrossGcc. 1 GccMake completed no error but few warning. Warning are: 1-1 ../../gcc/real.c:6434: warning: passing arg 1 of `bcopy' from incompatible pointer type. 1-2 touch stmp-multilib /cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/xgcc -B/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/ -B/sh/sh-pc-linux-gnu/bin/ -I/sh/sh-pc-linux-gnu/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -c ../../gcc/libgcc1-test.c ../../gcc/libgcc1-test.c:101: warning: conflicting types for built-in function `memcpy' /cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/xgcc -B/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/ -B/sh/sh-pc-linux-gnu/bin/ -I/sh/sh-pc-linux-gnu/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -fPIC \ -DCRT_BEGIN -DCRTSTUFFS_O -finhibit-size-directive -fno-inline-functions \ -fno-exceptions -g0 -c ../../gcc/crtstuff.c mv crtstuff.o crtbeginS.o /cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/xgcc -B/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/ -B/sh/sh-pc-linux-gnu/bin/ -I/sh/sh-pc-linux-gnu/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -fPIC \ -DCRT_END -DCRTSTUFFS_O -finhibit-size-directive -fno-inline-functions -fno-exceptions -g0 -c ../../gcc/crtstuff.c -o crtendS.o touch s-crtS Testing libgcc1. Ignore linker warning messages. /cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/xgcc -B/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/ -B/sh/sh-pc-linux-gnu/bin/ -I/sh/sh-pc-linux-gnu/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include libgcc1-test.o -o libgcc1-test \ -nostartfiles -nostdlib `/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/xgcc -B/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc/ -B/sh/sh-pc-linux-gnu/bin/ -I/sh/sh-pc-linux-gnu/include --print-libgcc-file-name` /cygdrive/c/work3/gcc-2.95.2/CROSS/texinfo/makeinfo/makeinfo -I../../gcc -o cpp.info ../../gcc/cpp.texi Making info file `cpp.info' from `../../gcc/cpp.texi'. /cygdrive/c/work3/gcc-2.95.2/CROSS/texinfo/makeinfo/makeinfo -I../../gcc -o gcc.info ../../gcc/gcc.texi Making info file `gcc.info' from `../../gcc/gcc.texi'. make[1]: Leaving directory `/cygdrive/c/work3/gcc-2.95.2/CROSS/gcc' 2 GccInstall finished no error. 3 On this environment I got Assembler massaege:... 4-1 TestProgram get same message. 4-2 With option -S TestProgram make test.s 4-3 AS make test.o from test.s # AS=sh-pc-linux-gnu-as 5 Gcc to AS path do not make perhaps. 6 Why it occured. 8 My command are sh update_timstamp.sh ##Khan's script mkdir CROSS ../configure --prefix=/sh --target=sh-pc-linux-gnu -v make make install 7 How to clear this Bug? 8 Anyone could help me . "andohich@ca2.so-net.ne.jp" wrote: > I'm trying to build CrosGcc i686-cygwin1 --> sh-pc-linux-sh. > > I haveadapted the Building procedure within > http://linux-sh.free.fr/FAQ.html. > > 1 Binutils-000228 and Gcc-core-2.95.2 successfuly complete to make > install. > > 2 But Glibc-2.1.2 stop in Configure. > > I get next message : > > "c:/bin/bash.exe"-2.03$ sh ../glibc3.sh > loading cache ./config.cache > checking host system type... sh3-pc-linux-gnu > . > . > . > . > checking whether /sh/sh-pc-linux-gnu/bin/as.exe is GNU as... yes > checking whether /sh/sh-pc-linux-gnu/bin/ld.exe is GNU ld... yes > checking for mig... mig > checking whether ranlib is necessary... Assembler messages: > Error: Can't open > for reading. > > : No such file or directory > /**-? > sh-pc-linux-gnu-gcc: file path prefix `/sh/bin/' never used > no > checking LD_LIBRARY_PATH variable... ok > checking for bash... /cygdrive/c/bin/bash > checking for mawk... no > checking for gawk... gawk > checking for perl... /sh/bin/perl > checking for install-info... /usr/bin/install-info > checking for old Debian install-info... no > checking for signed size_t type... no > checking for libc-friendly stddef.h... no > checking whether we need to use -P to assemble .S files... yes > checking for assembler global-symbol directive... UNKNOWN /**-? > configure: error: cannot determine asm global directive > > /**-? attached by me > > My commands are shell-script. > > glibc.sh > > ! bin/sh > # glibc-configure-make shell program > # export CC=sh-pc-linux-gnu-gc > export CPP='sh-pc-linux-gnu-cpp' > export AS='sh-pc-linux-gnu-as' > export AR='sh-pc-linux-gnu-ar' > export LD='sh-pc-linux-gnu-ld' > export RANLIB='sh-pc-linux-gnu-lanlib' > export GCC_EXEC_PREFIX=/cygdrive/c/cygnus/sh-linux/lib/gcc-lib/ > export BUILD_CC=gcc > export PERL=perl > # > CC='sh-pc-linux-gnu-gcc -m3 -mb' ./configure --host=sh3-linux-gnu \ > --prefix=/sh --exec-prefix=/sh --enable-add-ons=crypt,linuxthreads \ > --disable-debug --disable-profile --with-headers=../linux/include \ > --with-binutils=/sh/bin > #script end > > Anyone could help > > Regards > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe@sourceware.cygnus.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]