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".

That's the proper way to set CFLAGS. What compiler and version are you using? 
Please note you need Sun's compiler (cc) for these options to work.

  ./configure CC=cc CFLAGS="-xtarget=native -xarch=native64" ...


+Thomas

------------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to