Hi, I'm also trying to build cegcc on msys (winxp) to get rid of cygwin.

cygwin is not installed on my system.
I have a fresh msys install (v 1.0.11) from sourceforge, along with msys
provided bison, flex and libregex.

I just checked out the cegcc trunk, and ran
cd /repo/cegcc/src/
mkdir build_mingw32ce
(edit ac_default_prefix to /local/opt/mingw32ce)
../scripts/build-mingw32ce.sh

I noticed this error in the main binutils configure:

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.
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... arm-unknown-mingw32ce
checking for a BSD-compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for i686-pc-mingw32-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-mingw32-g++... no
checking for i686-pc-mingw32-c++... no
checking for i686-pc-mingw32-gpp... no
checking for i686-pc-mingw32-aCC... no
checking for i686-pc-mingw32-CC... no
checking for i686-pc-mingw32-cxx... no
checking for i686-pc-mingw32-cc++... no
checking for i686-pc-mingw32-cl... no
checking for i686-pc-mingw32-FCC... no
checking for i686-pc-mingw32-KCC... no
checking for i686-pc-mingw32-RCC... no
checking for i686-pc-mingw32-xlC_r... no
checking for i686-pc-mingw32-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for i686-pc-mingw32-gnatbind... no
checking for gnatbind... gnatbind
checking for i686-pc-mingw32-gnatmake... no
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking for version 0.10 of PPL... no
checking for correct version of CLooG... no
**** This configuration is not supported in the following subdirectories:
     target-libiberty
    (Any other directories should still work fine.)
*

and of course, make fails in the libiberty folder with the following errors:

make[2]: Entering directory
`/e/repositories/perso/cegcc/src/build_mingw32ce/binutils/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
          mkdir pic; \
        else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I.
-I/e/repositories/perso/cegcc/src/binutils/libiberty/../include  -W -Wall
-Wwrite-strings -Wstrict-prototypes -pedantic
/e/repositories/perso/cegcc/src/binutils/libiberty/regex.c -o pic/regex.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I.
-I/e/repositories/perso/cegcc/src/binutils/libiberty/../include  -W -Wall
-Wwrite-strings -Wstrict-prototypes -pedantic
/e/repositories/perso/cegcc/src/binutils/libiberty/regex.c -o regex.o
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:130: warning:
function declaration isn't a prototype
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:130: warning:
conflicting types for built-in function 'malloc'
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:131: warning:
function declaration isn't a prototype
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c: In function
`init_syntax_once':
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:284: warning:
implicit declaration of function `bzero'
In file included from
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:638:
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c: In function
`byte_regex_compile':
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:2439: warning:
implicit declaration of function `free'
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c: In function
`byte_re_compile_fastmap':
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:4790: warning:
implicit declaration of function `bcopy'
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:4835: warning:
implicit declaration of function `abort'
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c: In function
`byte_re_match_2_internal':
e:/repositories/perso/cegcc/src/binutils/libiberty/regex.c:6815: warning:
implicit declaration of function `bcmp'
....
some more
...
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I.
-I/e/repositories/perso/cegcc/src/binutils/libiberty/../include  -W -Wall
-Wwrite-strings -Wstrict-prototypes -pedantic
/e/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c -o
dyn-string.o
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c: In function
`dyn_string_delete':
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c:110:
warning: implicit declaration of function `free'
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c: In function
`dyn_string_copy':
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c:187:
warning: implicit declaration of function `abort'
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c:193:
warning: implicit declaration of function `strcpy'
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c: In function
`dyn_string_copy_cstr':
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c:206:
warning: implicit declaration of function `strlen'
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c: In function
`dyn_string_insert':
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c:257:
warning: implicit declaration of function `strncpy'
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c: In function
`dyn_string_eq':
e:/repositories/perso/cegcc/src/binutils/libiberty/dyn-string.c:396:
warning: implicit declaration of function `strcmp'
...
some more
...
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I.
-I/e/repositories/perso/cegcc/src/binutils/libiberty/../include  -W -Wall
-Wwrite-strings -Wstrict-prototypes -pedantic
/e/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c -o fibheap.o
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c: In function
`fibheap_union':
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:151: warning:
implicit declaration of function `free'
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c: In function
`fibheap_replace_key_data':
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:220: error:
`LONG_MIN' undeclared (first use in this function)
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:220: error:
(Each undeclared identifier is reported only once
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:220: error: for
each function it appears in.)
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c: In function
`fibheap_delete_node':
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:261: error:
`LONG_MIN' undeclared (first use in this function)
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:265: warning:
implicit declaration of function `abort'
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c: In function
`fibheap_consolidate':
e:/repositories/perso/cegcc/src/binutils/libiberty/fibheap.c:368: warning:
implicit declaration of function `memset'
make[2]: *** [fibheap.o] Error 1
make[2]: Leaving directory
`/e/repositories/perso/cegcc/src/build_mingw32ce/binutils/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory
`/e/repositories/perso/cegcc/src/build_mingw32ce/binutils'
make: *** [all] Error 2


I'm quite confused. What was broken by configure to avoid finding all these
functions?
What would you do to fix this?

Regards
Sebastien
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to