Hello,

Please excuse me if this email would have had its place on the bugzilla, like for my poor English, but I met some erros while trying to compile GCC-4.2.1. under windows xp, with an athlon-xp based pc.

First one appeard in gfortran.h.

It seems that uint is not recognized as a good type name while declaring
try gfc_add_attribute (symbol_attribute *, locus *, uint); (line 1741)

The options passed at configure were:

   --prefix=/mingw --target=mingw32 --host=mingw32 --program-prefix="" \
   --with-as=/mingw/bin/as.exe --with-ld=/mingw/bin/ld.exe
   --enable-threads --enable-nls \
   --enable-languages=c,c++,fortran,ada,java,objc,obj-c++,treelang \
   --enable-stage1-languagess=c,c++ --disable-win32-registry \
   --disable-shared --without-x --enable-interpreter
   --enable-hash-synchronization \
   --enable-libstdcxx-debug --with-gmp=/mingw --with-mpfr=/mingw

where /mingw is a toplevel directory where can be found as, binutils tools, winsup headers and gmp/mpfr just compiled libraries
and make:

   make CFLAGS="-O2 -fomit-frame-pointer " CXXFLAGS="-O2
   fno-omit-frame-pointer -mthreads" LDFLAGS=-s bootstrap-lean

It appears that uint is only like UINT, or nested other thinks like uint32_t or uint64_t

I temporarily solved this problem by inserting lines
#ifndef uint
#define uint unsigned int
#endif
at the beginning gfortran.h file (line 73), but can be would be it interesting to be able another way (by placing a test in config/using a definition in gmp?)?

Second one appears in gnat_ugn.texi at line 110 (@syncodeindex fn cp)
temporarily solved by comment it

Last one appeares while making gnattools, and i didn't find any solution.

While performing

   xgcc -B../../ -c -g -O2 -W -Wall -gnatpg a-calend.adb -o a-caland.o"

make exists on error

   a-calend.adb:44:17: "Ada.Calendar" is not a predefinded library unit

Hoping this mail will help.
Regards
Philippe Dunski

Reply via email to