On Fri, Dec 09, 2011 at 01:07:51AM +0530, prashant n wrote:
> Hi Michael Steiger,
> * Thanks for your valuable feedback.*
> *
> *
> As per your suggestion, i have gone through the links as you suggested in
> the previous mail.
>
> I have searched config.log file in all possible configuration paths but i
> can't able to find it .
>
> *Please suggest me on following things*
> *
> *
> 1) What is the actual difference between configure options such as --host
> and --build ?
--build describes the achitecture you are using to generate the binary
--host describes the architecture the generated binary should run on
--target describes the architecture the generated binary should generate code
for.
The default value for --target is the value of --host.
The default value for --host is the value of --build.
The default value for --build is the output of config.guess (in the root
directory of Net-SNMP)
--target is only relevant for compilers, so let's forget about that one.
In order to get the correct value for host I would recommend that you copy the
script config.guess to your target system, run it and then adds the option
--host=<output of config.guess when run on your target platform>
to the configure line. Do not add any of --build and --target as the first one
is automatically determined and the second one is irrelevant.
> 2) Configure options such as --host, --build and --target are used for
> cross compiling. Whether we need to specify processor/controller type for
> each of these options? What is the format of specifying --host, --build
> and --target ?
Please see above.
A cross compile happens when the values of --host, --build and --target aren't
equal. Please read the manual for autoconf if you wish to learn more about
this.
> 3) When i run uname -a on the UBUNTU host and target device i got
> following output
Please see above. The output of uname is not what build/host/target expects.
Use config.guess to get the right values.
> **************UBUNTU***************
> ******************************************************************************
>
> ************* Target device*************
> ******************************************************************************
>
> Now tell me based on this how can i set configure options such as --host,
> --build and --target ?
I can't. Please use config.guess.
/MF
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders