On Tue, 2010-03-02 at 14:30 -0500, Mike Walker wrote:
> My problem now is just how to set CFLAGS="-xtarget=native
> -xarch=native64" for building net-snmp.
> 
> If I set it via "configure" (i.e.: "./configure
> CFLAGS="-xtarget=native -xarch=native64"), then configure stops with
> errors relating to "c compiler cannot generate executables".

What compiler are you using?

-xtarget=native -xarch=native64 is for sun forte.

With gcc I think that should be spelled "-mcpu=v9 -m64" but I do not
really know, please take a look at the compiler manual pages.

/MF


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to