Subject: buildlink3 and -nostdinc problem
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 05/02/2004 13:47:19
It appears that imake on IRIX 5.3 uses -nostdinc -I/usr/include as cc
options. However, as buildlink3 rewrites the -I options to point to its
locally set-up directories, cc does not find standard includes such as
sys/types.h present under /usr/include.
This makes compilation of any package that uses both USE_BUILDLINK3 and
USE_IMAKE fail.
Any suggestions how to remedy this? I could of course make buildlink3
remove the -nostdinc option, but this would seem like a real ugly hack
to me.
Do other platforms make use of -nostdinc, and does this problem occur
there as well?

Any helpful hints would be appreciated.

Thanks,

Georg 

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442