[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Newbie Question --debug
From: |
Maurice Turcotte |
Subject: |
RE: Newbie Question --debug |
Date: |
Thu, 27 Feb 2003 09:41:09 -0500 |
Thanks, Dan. Yes, there is something wrong.
Is there an option to either autoconf or configure
that causes verbose information spew out of configure?
I guess I am looking for a "-v" or "--debug".
I need to find out exactly where configure is looking.
mrt
-----Original Message-----
From: Dan Kegel [mailto:address@hidden
Sent: Wednesday, February 26, 2003 6:46 PM
To: address@hidden
Cc: address@hidden
Subject: Re: Newbie Question
Maurice Turcotte wrote:
> I am configuring NET-SNMP to cross-compile for another
> linux plaform using the uclibc toolchains. When I run
> configure, it picks up the correct compiler, but it then
> seems to be looking at the header files for the host
> system rather than the cross-compiler.
>
> For example, it looks for "stdio.h" in "/usr/include", which
> is incorrect. It should be looking for "stdio.h" in
> "/opt/toolchains/uclibc/linux/include".
>
> So, I have two questions......
>
> 1) How to I force configure to look for header files ONLY in
> a given directory.
Overriding the compiler should do it.
I do this as follows:
CC=/path/to/my/compler ./configure
(although recent autoconf doc deprecates that syntax
in favor of
./configure CC=/path/to/my/compler
I don't think the new syntax works with old configures)
If that's not working, something's wrong...
- Dan