David wrote:
> I must say I'm baffled by this whole thread (NPI)
> Why are you using such a lame program.
If you look at a configure script, you will find that
autoconf uses these "lame programs" to check for libraries.
> Just add
> #include
> to zz.c and everything should work as intended, n
un Burgers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 2:51 PM
To: [EMAIL PROTECTED]
Cc: Robert Collins
Subject: Re: gcc -mno-cygwin creates cygwin executables!
To sum up this thread:
consider the following program:
main () {
pthread_create();
}
gcc -mno-cygwin -o z
- Original Message -
From: "Teun Burgers" <[EMAIL PROTECTED]>
> 1) How about making libpthread.a a dummy library with just one .o file
>with a dummy (empty) function? This does fix this particular
>configure problem, but might have side effects since the pthread
> symbols
>are
On Wednesday, December 12, 2001 1:10 PM, Christopher Faylor
[SMTP:[EMAIL PROTECTED]] wrote:
> On Wed, Dec 12, 2001 at 09:55:25PM +0100, Teun Burgers wrote:
> >egor duda wrote:
> >
> >> you're fixing specific symptoms instead of the problem itself. this
> >> had been discussed already and the gen
On Wed, Dec 12, 2001 at 09:55:25PM +0100, Teun Burgers wrote:
>egor duda wrote:
>
>> you're fixing specific symptoms instead of the problem itself. this
>> had been discussed already and the general consensus (at least as i
>> understand it) is the following: -mno-cygwin is a _hack_. it's
>> suppo
egor duda wrote:
> you're fixing specific symptoms instead of the problem itself. this
> had been discussed already and the general consensus (at least as i
> understand it) is the following: -mno-cygwin is a _hack_. it's
> supposed to be used only when absolutely necessary and when you
> absolut
Hi!
Wednesday, 12 December, 2001 Teun Burgers [EMAIL PROTECTED] wrote:
TB> To sum up this thread:
TB> consider the following program:
TB> main () {
TB> pthread_create();
TB> }
TB> gcc -mno-cygwin -o zz.exe zz.c -lpthread will compile and build.
TB> A cygcheck on zz.exe reveals that lib
To sum up this thread:
consider the following program:
main () {
pthread_create();
}
gcc -mno-cygwin -o zz.exe zz.c -lpthread will compile and build.
A cygcheck on zz.exe reveals that libcygwin.a is linked in. The
problem with this is that a configure script with CC='gcc -mno-cygwin'
wi
- Original Message -
From: "a.rburgers" <[EMAIL PROTECTED]>
> > If you want a mingw pthread library see the pthread-win32 project.
>
> I don't want to force the user to install pthread-win32.
> I want this configure script (for fltk btw) to detect correctly
whether
> threads
> are availabl
Rob Collins wrote:
> > 1) Move the pthread functions from libcygwin.a to a separate library
> > libpthread.a instead of libpthread.a being a symlink to libcygwin.a.
> > That
> > would fix this particular configure problem I think. This already
> > works this way I found for libpng.a and libjpeg.a
===
- Original Message -
From: "Teun Burgers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 8:02 AM
Subject: Re: gcc -mno-cygwin creates cygwin executables!
> Christopher Faylor wrote:
>
> > On Tue, Dec 11, 2001 at 06
Christopher Faylor wrote:
> On Tue, Dec 11, 2001 at 06:47:09PM +0100, Teun Burgers wrote:
> >1) gcc -mno-cygwin searches for libs in /usr/lib.
> > Should it?
> It shouldn't, but it does. Changing this requires a complicated change
> to 'ld'. I don't think that anyone is contemplating such a
On Tue, Dec 11, 2001 at 06:47:09PM +0100, Teun Burgers wrote:
>1) gcc -mno-cygwin searches for libs in /usr/lib.
> Should it?
It shouldn't, but it does. Changing this requires a complicated change
to 'ld'. I don't think that anyone is contemplating such a change.
The only alternative is to u
13 matches
Mail list logo