gcc ld cygwin

Printer-friendly version
warning: Creating default object from empty value in /var/www/drupal/6.x/drupal-6.26/modules/taxonomy/taxonomy.pages.inc on line 33.

gcc Include and ld Library paths resolution when working with Cygwin

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...

Site Status

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