You can set cross-compile directories in PATH before /usr/bin.

        Anton Pak




On Tue, 11 Sep 2007 20:35:32 +0400, Peter Pothier <[EMAIL PROTECTED]>  
wrote:

> Hi,
>
>
> Using openhpi-2.8.1, inside of the "configure" file, SNMPFLAGS is set
>
>
>      SNMPFLAGS=`net-snmp-config --cflags | perl -p -e 's/-O\S*//g'`
>
>      SNMPLIBS=`net-snmp-config --libs`
>
>
> using net-snmp-config.
>
>
> When cross-compiling, how would one avoid using
>
>
>      /usr/bin/net-snmp-config
>
>
> and instead use the net-snmp-config from the cross-compile directories?
>
>
> Unlike
>
>     CC
>
>     CXX
>
>     RANLIB
>
>     etc...
>
> there does not appear to be a way of pointing to the cross-compile
> directories.
>
> Thank you,
>
>
> Peter P
>
> ------------------------------------------------
> Peter Pothier
> Enea
> One Tara Boulevard, Suite 404
> Nashua, NH 03060
> Direct: +1 603 888 7252
> Fax: +1 603 888 6136
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> www.enea.com
> ------------------------------------------------
> Enea - Embedded for Leaders
> ------------------------------------------------
>
> This message, including attachments, is CONFIDENTIAL. It may also be
> privileged or otherwise protected by law. If you received this email by
> mistake please let us know by reply and then delete it from your system;
> you should not copy it or disclose its contents to anyone. All messages
> sent to and from Enea may be monitored to ensure compliance with
> internal policies and to protect our business. Emails are not secure and
> cannot be guaranteed to be error free as they can be intercepted,
> amended, lost or destroyed, or contain viruses. The sender therefore
> does not accept liability for any errors or omissions in the contents of
> this message, which arise as a result of e-mail transmission. Anyone who
> communicates with us by email accepts these risks.
>
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to