I'm trying to write a test, but find the documentation extremely sparse
on this.
I wish to compile the following C program:
main()
{
}
using the compiler option "-Wl,-zextractall"
and see if it returns 0 or 1.
That seems like a pretty simple thing to do, but I can't work out from
the docs h
If I have this in my configure.ac
AC_MSG_CHECKING([if gcc uses the GNU or Sun linker])
then run the configure script, I see:
checking if gcc uses the GNU or Sun linker... checking for a sed that
does not truncate output... /opt/csw/bin/gsed
I've not asked it to check for sed, so why is
>>> On 8/7/2009 at 13:45, "Dr. David Kirkby" wrote:
> If I have this in my configure.ac
>
> AC_MSG_CHECKING([if gcc uses the GNU or Sun linker])
>
> then run the configure script, I see:
>
> checking if gcc uses the GNU or Sun linker... checking for a sed that
> does not truncate output... /o
On Fri, Aug 7, 2009 at 13:39, Dr. David Kirkby wrote:
> I'm trying to write a test, but find the documentation extremely sparse on
> this.
>
> I wish to compile the following C program:
>
> main()
> {
> }
>
> using the compiler option "-Wl,-zextractall"
>
> and see if it returns 0 or 1.
Assuming t
On Fri, Aug 7, 2009 at 16:18, Andrew W.
Nosenko wrote:
> On Fri, Aug 7, 2009 at 13:39, Dr. David Kirkby wrote:
>> I'm trying to write a test, but find the documentation extremely sparse on
>> this.
>>
>> I wish to compile the following C program:
>>
>> main()
>> {
>> }
>>
>> using the compiler opti
Dr. David Kirkby wrote:
I'm trying to write a test, but find the documentation extremely
sparse on this.
I wish to compile the following C program:
main()
{
}
using the compiler option "-Wl,-zextractall"
and see if it returns 0 or 1.
Have a look at AX_CHECK_COMPILER_FLAGS in the autoconf ma
Dr. David Kirkby wrote:
I've not asked it to check for sed, so why is it putting that in the end?
It's most likely not from AC_MSG_CHECKING, but it's hard to say from
where it comes without a larger snippet of the configure.ac.
Cheers,
Peter
___
Am Freitag, den 07.08.2009, 12:45 +0100 schrieb Dr. David Kirkby:
> If I have this in my configure.ac
>
> AC_MSG_CHECKING([if gcc uses the GNU or Sun linker])
>
> then run the configure script, I see:
>
> checking if gcc uses the GNU or Sun linker... checking for a sed that
> does not truncate
On 08/07/2009 04:31 PM, Paolo Bonzini wrote:
Maybe it's worth a ping to the dash maintainers...
Yes...
Is that a "yes I'll do it"? I'm happy to otherwise, pointing them at
this thread, but I imagine it would have more effect from an autoconf
maintainer.
Which I am not, just a contributor.
On Fri, 7 Aug 2009, Dr. David Kirkby wrote:
gcc -Wl,-zallextract simple.c
should return an error if the GNU linker is used, as it will not understand
the -zallextract option. But it will not produce any error if gcc uses the
Sun linker, since -zallextract is a valid option.
This is a useles
Hello,
I'm having an issue with ./config.status --recheck re-running
the ./configure script, but without all the environment variables that
have been passed to the original ./configure call, making the build
fail later because some tools cannot be found (in my case, the proper
STRIP).
I'm present
Hello Thomas,
Thomas Petazzoni wrote:
3. Configure with the following line:
CC=/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-gcc \
STRIP=/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-strip
\
./configure --target=arm-linux --host=arm-linux --buil
On Fri, 7 Aug 2009, Dr. David Kirkby wrote:
If I have this in my configure.ac
AC_MSG_CHECKING([if gcc uses the GNU or Sun linker])
then run the configure script, I see:
checking if gcc uses the GNU or Sun linker... checking for a sed that does
not truncate output... /opt/csw/bin/gsed
Bob Friesenhahn wrote:
On Fri, 7 Aug 2009, Dr. David Kirkby wrote:
gcc -Wl,-zallextract simple.c
should return an error if the GNU linker is used, as it will not
understand the -zallextract option. But it will not produce any error
if gcc uses the Sun linker, since -zallextract is a valid op
Russ Allbery wrote:
> Braden McDaniel writes:
>
>> If all your --with argument would be doing is dumbly appending
>> "/include" and "/lib" for -I and -L flags, I don't see the point.
>
> I provide --with-* options for all optional libraries because sometimes
> they do something else and sometime
Daniel Leidert wrote:
Am Freitag, den 07.08.2009, 12:45 +0100 schrieb Dr. David Kirkby:
If I have this in my configure.ac
AC_MSG_CHECKING([if gcc uses the GNU or Sun linker])
then run the configure script, I see:
checking if gcc uses the GNU or Sun linker... checking for a sed that
does not
Le Fri, 07 Aug 2009 14:11:42 -0400,
Peter Johansson a écrit :
> I'm not sure if it solves your problem, but it is a bad habit to set
> environment variables before ./configure, instead set them at
> commandline so configure has a chance to detect them. In your case it
> would mean:
>
> ./
I'm trying to check if the version of perl is at least x.y.z
I found a macro with this syntax.
AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
http://www.nongnu.org/autoconf-archive/ax_prog_perl_version.html
The documentation says one needs to run AC_CHECK_PROG or AC_PATH_P
"Dr. David Kirkby" writes:
> I'm trying to check if the version of perl is at least x.y.z
>
> I found a macro with this syntax.
>
> AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
>
> http://www.nongnu.org/autoconf-archive/ax_prog_perl_version.html
>
> The documentation says on
19 matches
Mail list logo