On Mon, 16 Feb 2009 21:56:06 +0100, Danny Backx <danny.ba...@scarlet.be>
wrote:
> I'm getting quite far. No time today though to figure out what's wrong.
> This is, I believe, with just Pedro's stuff, based on gcc-trunk as of a
> couple of hours ago.
> 
>       Danny
> 
> gmake[3]: Entering directory
>
`/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-4.4/gcc/arm-mingw32ce/libstdc++-v3'
> Making all in include
> gmake[4]: Entering directory
>
`/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-4.4/gcc/arm-mingw32ce/libstdc++-v3/include'
> gmake[4]: *** No rule to make target
>
`/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gcc-trunk/libstdc++-v3/config/os/mingw32/runtimeopts.h',
> needed by `stamp-host'.  Stop.
> gmake[4]: Leaving directory
>
`/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-4.4/gcc/arm-mingw32ce/libstdc++-v3/include'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
>
`/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-4.4/gcc/arm-mingw32ce/libstdc++-v3'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
>
`/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-4.4/gcc/arm-mingw32ce/libstdc++-v3'
> gmake[1]: *** [all-target-libstdc++-v3] Error 2
> gmake[1]: Leaving directory
> `/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-4.4/gcc'
> gmake: *** [all] Error 2
> dannypc: {24} 
> 
> 
> On Mon, 2009-02-16 at 18:21 +0000, Pedro Alves wrote:
>> On Monday 16 February 2009 17:47:09, Vincent R. wrote:
>> > When I try your patch from cegcc svn I have the following message :
>> > 
>> > make AS="arm-mingw32ce-as" CC="gcc" CFLAGS="-O2 -g  "
>> > CXXFLAGS="@CXXFLAGS@
>> 
>>                                  ^^^
>> 
>> Wrong gcc here.  Hmmm, did I forget that w32api does need a
>> compiler to build?  Maybe I had the 4.1 based one in PATH, and missed
>> this issue.
>> 
>> > " CPPFLAGS="  " AR="arm-mingw32ce-ar" RANLIB="arm-mingw32ce-ranlib"
>> 
>> > gcc -c -O2 -g  
>> > -I/home/vincent/projects/cegcc/src/w32api/libce/../include
>>   ^^^
>> 
>> This is wrong compiler being used...
>> 
>> > Don't understand where does it come from ...
>> > It was working fine before, so maybe a distro update or something like
>> > that.
>> > The problem seems to be related to winsock.h and system includes.
>> > 
>> 
>> > Damn it, I am doomed
>> 
>> :-)
>> 
>> Some more tweaking to the bootstap sequence is in order.
>>
Hi,

actually there are some issue with Pedro's patch, I don't know why but
libstdc++-v3/configure.host
is not patched :

 mingw32ce*)
    os_include_dir="os/mingw32"  !!!!!! Should be os/mingw32ce
    error_constants_dir="os/mingw32"  !!!!!! Should be os/mingw32ce

In libstdc++, some defines have changed:

in cc-trunk/libstdc++-v3/config/os/mingw32ce/error_constants.h you need to
remove :
the first namespace and replace the second enum by :

enum class errc
    {

//    address_family_not_supported =            EAFNOSUPPORT,
//    address_in_use =                          EADDRINUSE,

There also minor details to change I think but globally now it compiles and
seems to work fine from
my first tests.
I will post a patch for people interested.











 



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to