manu@... wrote: > We also need a configure test to enable the hack. Any suggestion? I don't know if this helps, but the canonical way on Solaris to find out what binaries are supported (32bit and/or 64bit) is to use /usr/bin/isainfo. On a 32bit system, it prints one line: 32-bit sparc applications (Or "i386" instead of "sparc", depending on hardware.) When 64bit binaries are supported, it prints two lines: 64-bit sparcv9 applications 32-bit sparc applications Of course, if /usr/bin/isainfo does not exist, then the system is too old and supports 32bit only. In order to find out whether you're compiling for 32bit or 64bit, the safest way is probably to compile a small dummy binary (with user-supplied $CC, $CFLAGS etc.), and then just parse the output from "file binary". Depending on the compilation target architecture, it prints: dummy: ELF 32-bit MSB executable SPARC Version 1, ... or: dummy: ELF 64-bit MSB executable SPARCV9 Version 1, ... Please note that I'm not a Solaris expert. There might be better ways to do it, but the above has worked for me. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. With Perl you can manipulate text, interact with programs, talk over networks, drive Web pages, perform arbitrary precision arithmetic, and write programs that look like Snoopy swearing.
Message
Re: [milter-greylist] milter-greylist-2.0.2 crash
2006-01-26 by Oliver Fromme
Attachments
- No local attachments were found for this message.