Subject: Re: NetBSD pkgsrc on FreeBSD and QNX
To: Simon J. Gerraty <sjg@crufty.net>
From: David Yeske <dyeske@yahoo.com>
List: tech-pkg
Date: 11/20/2002 17:33:11
ok that sounds good, how about errno.h?

I'll try and save the output of bmake building and send you the cdefs.h warnings.


--- "Simon J. Gerraty" <sjg@crufty.net> wrote:
> 
> On Tue, 19 Nov 2002 13:52:42 -0800 (PST), David Yeske writes:
> >So I got bmake and parts of pkgsrc going on QNX.
> 
> Cool.  
> 
> >bmake has issues with the QNX sys/cdefs.h so I had to build without -Werror
> 
> Can you elaborate?  Linux has issues too but since it uses gcc, we can
> include ./missing/sys/cdefs.h and have it include sys/cdefs.h to
> pickup the needed extras.
> 
> >This is the diff against bootstrap-pkgsrc...
> >
> >http://pigseye.kennesaw.edu/~dyeske/qnx/patch-bootstrap-pkgsrc
> 
> Rather than adding checks for __QNX__ it would be better to do:
> 
> #ifdef HAVE_SYS_SIGNAL_H
> # include <sys/signal.h>
> #else
> # include <signal.h>
> #endif
> 
> and add sys/signal.h to the list of headers checked for by configure.
> I'll include these in the next version of bmake - still need to finish
> test/debugging some changes in netbsd make that will be the reason for
> the next bmake version.
> 
> Thanks
> --sjg


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com