libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <dirent> functions under MinGW


From: Bob Friesenhahn
Subject: Re: <dirent> functions under MinGW
Date: Thu, 17 Mar 2005 09:20:17 -0600 (CST)

On Thu, 17 Mar 2005, Tor Lillqvist wrote:
> Which means that unsuspecting programs built under MSYS
> (e.g. libltdl) may end up being GPLed by accident when it was
> assumed that only GPL-free MINGW headers/libraries were used.

That is then a very wrong assumption. To build *for* MSYS, I assume
you have downloaded the MSYS sources and use the headers from there?
There certainy is no dirent.h in the MSYS package that people who just
*use* MSYS install.

The dirent.h provided with mingw, on the other hand, is the
public-domain one, and the dirent implementation that programs built
using mingw (and MSYS) use is the public-domain one. (Unless you have
seriously mixed up things yourself and copied stuff here and there.)

My MSYS/MINGW install has both /usr/include/dirent.h and /mingw/include/dirent.h. The problem header is /usr/include/dirent.h. Looking at the generated dependency files for my libltdl build, I see that /mingw/include/dirent.h is being used.

I was drawn into this issue due to a compilation error message (for a different software package) which seemed to indicate that /usr/include/dirent.h was being used.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]