On Fri, 29 Jan 2010, Danny Backx wrote:

> On Sat, 2010-01-23 at 13:33 +0100, Vincent Torri wrote:
>> i've just installed cegcc (mingw32ce compiler) from the svn repo. There is
>> a limits.h in the folowin sub directories:
>>
>> /home/torri/local/opt/mingw32ce/arm-mingw32ce/include/c++/4.4.0/tr1/
>> /home/torri/local/opt/mingw32ce/arm-mingw32ce/include/
>> /home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/
>> /home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/install-tools/include/
>>
>> When i include limits.h, it is the one in the third directory that is
>> chosen, and not the one in the second (which, i think, is the correct
>> one). Is it normal ?
>
> I did a quick test :
>
> pavilion: {18} arm-mingw32ce-gcc -H -c t.c |& grep limit
> . 
> /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/include/limits.h

i get :

/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h

> pavilion: {19} find /opt/mingw32ce/ -name limits.h -print
> /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/install-tools/include/limits.h
> /opt/mingw32ce/arm-mingw32ce/include/c++/4.4.0/tr1/limits.h
> /opt/mingw32ce/arm-mingw32ce/include/limits.h

i get :

/home/torri/local/opt/mingw32ce/arm-mingw32ce/include/c++/4.4.0/tr1/limits.h
/home/torri/local/opt/mingw32ce/arm-mingw32ce/include/limits.h
/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/install-tools/include/limits.h

Vincent Torri

>
> and find that it takes the third limits.h in this list.
>
> When I add a limits.h in include-fixed, things change :
>
> pavilion: {20}
> touch /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
> pavilion: {21} arm-mingw32ce-gcc -H -c t.c | & grep limit
> . /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
> /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
> pavilion: {22}
>
> Is that different on your system ?
>
>       Danny
>
>
> -- 
> Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
>
>

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to