gcc works on the command line, not with autoconf

2004-10-27 Thread Stephane Bortzmeyer
Summary *** gcc 3 works fine on my Sparc / NetBSD when I use it from the command line. It fails when running from a configure script. Gory details preston:pkgsrc/net/quagga % uname -a NetBSD preston 1.6.2 NetBSD 1.6.2 (GENERIC) #3: Mon Feb 9 18:37:36 CET 2004 [EMAIL PROTEC

Please help.

2004-10-27 Thread Dale Walsh
I don't know who to contact and I have a small project I'd like to make a configure script. I have a c source that I'd like to make a PHP .so file. I'd like two things to happen. __ 1) I need to build the file using the apx comma

Re: Please help.

2004-10-27 Thread Stephane Bortzmeyer
On Tue, Oct 26, 2004 at 04:37:11AM -0400, Dale Walsh <[EMAIL PROTECTED]> wrote a message of 76 lines which said: > I have a c source that I'd like to make a PHP .so file. ^^^ ? > I need the to a

Re: gcc works on the command line, not with autoconf

2004-10-27 Thread Denis Vlasenko
> Now, configure scripts use gcc3 as wanted. From the command line, gcc3 > is OK: > > preston:~/tmp % cat conftest.c > int > main () > { > ; > return 0; > } > preston:~/tmp % /usr/pkg/gcc3/bin/gcc conftest.c > preston:~/tmp % > > But from configure (I test with Quagga but it is the same p

Re: gcc works on the command line, not with autoconf

2004-10-27 Thread Stephane Bortzmeyer
On Wed, Oct 27, 2004 at 03:55:02PM +0300, Denis Vlasenko <[EMAIL PROTECTED]> wrote a message of 50 lines which said: > Most probably it depends on some enviroment variable. Sure. Now, which one? In my shell, I do not have LD_LIBRARY_PATH nor LDFLAGS, nor CC, nor CFLAGS... ___

Re: gcc works on the command line, not with autoconf

2004-10-27 Thread Stepan Kasal
Hi, On Wed, Oct 27, 2004 at 04:04:08PM +0200, Stephane Bortzmeyer wrote: > Sure. Now, which one? In my shell, I do not have LD_LIBRARY_PATH nor > LDFLAGS, nor CC, nor CFLAGS... you can always use env to save both environments and then interpolate to find the guilty one... HTH, Stepan Kas