This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/../gcc-3.3.2/boehm-gc/include/private/gcconfig.h


During compilation of gcc-3.3.2 an error was given for the file in the
subject line above.

The diagnostic was at line 1842. The code generating the error is provided
below:

# if defined(GC_WIN32_THREADS) && !defined(MSWIN32)
    /* Ideally CYGWIN32 should work, in addition to MSWIN32.  I suspect */
    /* the necessary code is mostly there, but nobody has actually made */
    /* sure the right combination of pieces is compiled in, etc.  */
--> inconsistent configuration
# endif

I think that the configuration option which generated this error was:

   --enable-threads=win32

If the option will not compile, why include it?

The reason that I'm using this option is to try to compile gcc/Ada so that
Ada can use tasking. After I downloaded gcc-3.3.1.3 from the Nasa
(ftp.nas.nasa.gov) mirror site, I tried to compile and execute the examples
given in the GNAT-3.15p examples directory and failed when I executed the
Dining Philosophers file. The error message is: 'failed run-time assertion
: Tasking not implemented on this configuration'.  My guess was that I had
to change the '--enable-threads=posix' option to '--enable-threads=win32'.

One last point, I tried to configure with '
--enable-languages=c,ada,c++,f77,pascal,java,objc'. The error message
indicated that 'pascal' was not supported for gcc-3.3.2. Is 'pascal' no
longer supported?

And so, what do I do now?

Thanks

art

The 'gcc -v' values are:
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with:
/GCC/gcc-3.3.1-3/configure
--with-gcc
--with-gnu-ld
--with-gnu-as
--prefix=/usr
--exec-prefix=/usr
--sysconfdir=/etc
--libdir=/usr/lib
--libexecdir=/usr/sbin
--mandir=/usr/share/man
--infodir=/usr/share/info
--enable-languages=c,ada,c++,f77,pascal,java,objc
--enable-libgcj
--enable-threads=posix
--with-system-zlib
--enable-nls
--without-included-gettext
--enable-interpreter
--enable-sjlj-exceptions
--disable-version-specific-runtime-libs
--enable-shared
--disable-win32-registry
--enable-java-gc=boehm
--disable-hash-synchronization
--verbose
--target=i686-pc-cygwin
--host=i686-pc-cygwin
--build=i686-pc-cygwin
Thread model: posix
gcc version 3.3.1 (cygming special)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]