pthreads library

  • strict warning: Non-static method Text_Wiki::singleton() should not be called statically in /var/www/drupal/6.x/sites/www.mingw.org/modules/pearwiki_filter/pearwiki_filter.module on line 475.
  • strict warning: Non-static method Text_Wiki::factory() should not be called statically in /usr/share/php/Text/Wiki.php on line 448.
  • strict warning: Non-static method Text_Wiki::isError() should not be called statically in /usr/share/php/Text/Wiki.php on line 449.
  • strict warning: Declaration of Text_Wiki_Parse_Emphasis::process() should be compatible with Text_Wiki_Parse::process(&$matches) in /usr/share/php/Text/Wiki/Parse/Mediawiki/Emphasis.php on line 0.
  • strict warning: Non-static method Text_Wiki::singleton() should not be called statically in /var/www/drupal/6.x/sites/www.mingw.org/modules/pearwiki_filter/pearwiki_filter.module on line 475.

Pthreads is part of POSIX and Windows isn't a POSIX system. However, there is a third party library on sourceware.org named pthreads-win32. Sourceware.org provides its own lists and MinGW does not support it but you are free to use it with MinGW at your own risk.

Re: pthreads library

This may not be approporiate place but ...

Cygwin creates a subdirectory /cygdrive where it stores phisical drives e.g. C: as c, F: as f, etc. Hence /cygdrive/f/CygWin/usr is a valid long name pointing to /usr directory in Cygwin

When used with Cygwin, MinGW gcc and ld do not follow paths given as "/cygdrive/f/CygWin/usr" when given as include or lib parths using -I or -L respectively though it does not complain either. But MinGW requires

     -I'F:/CygWin/usr' 

and similar for the -L option.

Hence...
If I tried to compile and build an application using MinGW gcc , it seems to ignore both, the include and library paths specified with
either CPATH, LD_LIBRARY_PATH or with individual options -I or -L
or -isystem. I.e. (and, e.g.) it can not find includes such as the pthread.h (or the libcatlas
libraries) that cygwin's default cc ( linked to the gcc) successfully finds, compiles and links
using the specified -I and -L options respectively.

george

Re: pthreads library

When used with Cygwin, MinGW gcc and ld do not follow paths given as "/cygdrive/f/CygWin/usr" when given as include or lib parths using -I or -L respectively though it does not complain either. But MinGW requires -I'F:/CygWin/usr' and similar for the -L option.

This is one of the reasons MSYS was created. MSYS will convert paths for you.

Site Status

Site maintenance completed May 25th, 2012 at 12:38 UTC