News for hackers. Stuff that matters.
Re:Autoconf and portable programs: the joke by l0stman on Wednesday March 31, 2010 @10:10AM (#1231796)
Could you be more specific instead of just saying some vague statements without giving any information? What problems have you encountered on *BSD systems?
Re:Autoconf and portable programs: the joke by jvdh on Wednesday March 31, 2010 @10:16AM (#1231812)
FreeBSD is actively trying to get to POSIX and C99 conformance, see http://www.freebsd.org/projects/c99/index.html
Re:Autoconf and portable programs: the joke by mansr on Wednesday March 31, 2010 @10:37AM (#1231868)
OK, off the top of my head (not all apply to all forks): - The math library (libm) is incomplete. - The 'nm' command has non-standard syntax. - The 'od' command has non-standard syntax. - System headers require -D_BSD_SOURCE or similar. - System headers disobey standards in other ways. - Not using -fPIC on OpenBSD gives unusable executables.
Re:Autoconf and portable programs: the joke by tedunangst on Wednesday March 31, 2010 @12:01PM (#1232133)
System headers should only require BSD_SOURCE if you've asked for strict ansi mode, just like gnu headers require GNU_SOURCE.
Re:Autoconf and portable programs: the joke by mansr on Wednesday March 31, 2010 @12:26PM (#1232223)
The glibc headers work perfectly in strict C99 mode. The BSD headers do not.