On Fri, 2006-01-27 at 15:34 +0000, Raffles wrote:
> ./configure --with-cc=g++ compiles the entire agent with the C++ 
> compiler, which I definitely want to avoid

Fair enough.   I wasn't sure whether this would be an acceptable
approach or not.  It was just the simplest way forward.


> I can understand that you might not be happy with this as standard 
> though. If you look at the patch I've done, all it requires is a 
> separate variable for the name of the compiler used during linking (I 
> called it LINKCC). Could we not make it standard in the Makefiles to use 
> $(CC) for compiling and $(LINKCC) for linking, so that you could do
> 
> ./configure --with-linkcc=g++

With LINKCC defaulting to $(CC), presumably?
That sounds a fairly sensible approach.

Anyone else like to comment?

Dave



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to