Re: rfc: handle platform specifics at runtime vs. compile time?
Thomas Anders <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Johannes Schmidt-Fischer wrote: > a similar problem exists for Solaris with 32-bit and 64-bit kernels Yes, it's a more general problem rather than an IRIX-only issue and this is exactly why I've started a more general discussion :-) > If not, it probably > would be a good idea to take a look at libelf-0.8.0 (the current version > at the time of this writing) which is a free ELF object file access > library. That library implements the gelf_* function calls similar to > what Solaris provides (according to the README for that library). It > should support IRIX too although there are some differences between the > standard ELF format and IRIX' implementation. I'm not convinced libelf is the best choice for retrieving *kernel* values (even if the kernel file happens to be in ELF format). Also, since libelf is not guaranteed to be available on the target system, we'd need alternative code anyway, unless you're proposing to bundle this LGPL code with net-snmp. I'm still looking for feedback on the core question (prefer runtime over compile-time platform handling?). +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users