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]

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


Arthur I Schwarz wrote:
I think that the configuration option which generated this error was:
   --enable-threads=win32
If the option will not compile, why include it?

It does compile for targets that support it. In gcc-3.3.2, the cygwin port does not support win32 threads. win32 threads do work with other configurations. There is also the issue here that boehm-gc is a separate package from gcc, that is included with gcc for convenience. boehm-gc supports some targets that gcc does not, so not all features of boehm-gc are available in gcc.


This appears to have been fixed in the development sources. cygwin support for win32 threads appears to have been added. However, that does not necessarily mean that you should be using win32 threads.

The reason that I'm using this option is to try to compile gcc/Ada so that
Ada can use tasking.
 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'.

The error message probably means that tasking isn't implemented yet. It probably doesn't mean that you need to use different configure options.


I know that there has been some recent work to improve the GNU Ada support on cygwin. Perhaps tasking works on the mainline now. I don't know. You would have to ask one of the cygwin developers.

By the way, something like "cygwin Ada tasking trouble" would have been a much better subject line. The cygwin experts may not bother to read this message, because the subject line doesn't mention cygwin. The Ada experts may not read it either.

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?

Pascal has never been a standard part of FSF gcc. It is a separate package. You have to add the Pascal package before you can configure pascal.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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