On Mon, 21 Sep 2009 14:56:23 +0200, "Vincent R." <foru...@smartmobili.com>
wrote:
> On Sun, 20 Sep 2009 09:51:07 +0200 (CEST), Vincent Torri
> <vto...@univ-evry.fr> wrote:
>> On Mon, 10 Aug 2009, Vincent Torri wrote:
>> 
>>>
>>> Hey,
>>>
>>> I have installed MSYS, bison (bin + dep on GnuWin32), flex (bin on
>>> GnuWin32),
>>> GMP 4.2.4 (compilation of the source code from mingw SF repo), MPRF
>>> 2.4.1
>>> (compilation of the source code from mingw SF repo)
>>>
>>> I modified ac_default_prefix of build-mingw32ce.sh to
>>> /local/opt/mingw32ce
>>>
>>> In src/, i created the directory build_mingw32ce and I went into it
>>>
>>> I executed ../scripts/build-mingw32ce.sh
>>>
>>> gcc-bootstrap compilation failed with the following error:
>>>
>>>
>>> C:/msys/1.0/home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixincl.c: In 
>>> function `fix_with_system':
>>> C:/msys/1.0/home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixincl.c:833:

>>> warning: too many arguments for format
>>> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
>>> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute

>>> -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. 
>>> -I/home/torri/code/cegcc/gcc-4.4.0/fixincludes -I../include 
>>> -I/home/torri/code/cegcc/gcc-4.4.0/fixincludes/../include 
>>> /home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixlib.c
>>> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
>>> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute

>>> -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. 
>>> -I/home/torri/code/cegcc/gcc-4.4.0/fixincludes -I../include 
>>> -I/home/torri/code/cegcc/gcc-4.4.0/fixincludes/../include 
>>> /home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixtests.c
>>> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
>>> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute

>>> -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. 
>>> -I/home/torri/code/cegcc/gcc-4.4.0/fixincludes -I../include 
>>> -I/home/torri/code/cegcc/gcc-4.4.0/fixincludes/../include 
>>> /home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixopts.c
>>> gcc -g -O2 -L/usr/local/lib -o fixincl.exe fixincl.o fixlib.o
> fixtests.o 
>>> fixopts.o ../libiberty/libiberty.a
>>> fixincl.o: In function `run_compiles':
>>> C:/msys/1.0/home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixincl.c:372:

>>> undefined reference to `__imp__fnmatch'
>>> fixincl.o: In function `process':
>>>
C:/msys/1.0/home/torri/code/cegcc/gcc-4.4.0/fixincludes/fixincl.c:1054:
> 
>>> undefined reference to `__imp__fnmatch'
>>> collect2: ld returned 1 exit status
>>>
>>> any idea ?
>> 
>> 
>> It seems that libiberty.dll would be missing as __imp is mentioned. But
> I 
>> already compiled stuff with libiberty.a without a dll, without any 
>> problem.
>> 
>> No idea ?
> 
> I am really doomed because when I try it but using bison/flex from mingw
I
> have the following error :
> 
> /bin/sh
>
/z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc/../move-if-change
> tmp-gi.list gtyp-input.list
> echo timestamp > s-gtyp-input
> build/gengtype.exe
> /z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc
> gtyp-input.list
>
/z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc/../libcpp/include/line-map.h:
> No such file or directory
> 
> I am not very lucky with cegcc compilation these few days (still need to
> upgrade macos to see if things are better ...)
> 

Ok I confirm I have an incompatibility with msys/mingw because when I
tried to debug, gdb is not even
able to open a folder or files :

$ gdb build/gentype.exe
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
build/gentype.exe: No such file or directory.
Warning: /z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc:
No such file or directory.
Warning:
/z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc/cp: No such
file or directory.
Warning:
/z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc/objc: No
such file or directory.
Warning:
/z/cygming-home/Realeyes/projects/cegcc/cegcc/src/gcc-4.4.0/gcc/objcp: No
such file or directory.

conclusion I will never try again to use msys/mingw (I am following
EFL/Windows XP guide but
doesn't help to make it work).




------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to