* Include /usr/pkg/include on NetBSD
@ 2002-10-27 8:33 velco
2002-10-28 10:17 ` Jason R Thorpe
0 siblings, 1 reply; 4+ messages in thread
From: velco @ 2002-10-27 8:33 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
Hi there,
On NetBSD /usr/pkg/include is more or less another standard include
dir. Moreover, the bootstrap fails with --enable-threads=posix as GNU
Pth is installed in /usr/pkg.
Bootstrapped on
$ gcc -v
Reading specs from /usr/local/gcc/lib/gcc-lib/pentium2-pc-netbsdelf/3.2.1/specs
Configured with: /usr/velco/src/gcc-3.2/configure --prefix=/usr/local/gcc --enable-languages=c,c++ --build=pentium2-pc-netbsdelf --host=pentium2-pc-netbsdelf --target=pentium2-pc-netbsdelf --enable-threads=posix
Thread model: posix
gcc version 3.2.1 20021025 (prerelease)
~velco
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 536 bytes --]
Index: gcc/config/netbsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/netbsd.h,v
retrieving revision 1.14
diff -u -d -p -r1.14 netbsd.h
--- gcc/config/netbsd.h 5 Feb 2002 19:01:43 -0000 1.14
+++ gcc/config/netbsd.h 27 Oct 2002 16:11:27 -0000
@@ -34,6 +34,8 @@
#endif /* NETBSD_NATIVE */
+#undef SYSTEM_INCLUDE_DIR
+#define SYSTEM_INCLUDE_DIR "/usr/pkg/include"
/* Provide a CPP_SPEC appropriate for NetBSD. Currently we just deal with
the GCC option `-posix'. */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Include /usr/pkg/include on NetBSD
2002-10-27 8:33 Include /usr/pkg/include on NetBSD velco
@ 2002-10-28 10:17 ` Jason R Thorpe
2002-10-28 11:24 ` Momchil Velikov
0 siblings, 1 reply; 4+ messages in thread
From: Jason R Thorpe @ 2002-10-28 10:17 UTC (permalink / raw)
To: velco; +Cc: gcc-patches
On Sun, Oct 27, 2002 at 09:32:54PM +0200, velco@merlin.xternal.fadata.bg wrote:
> On NetBSD /usr/pkg/include is more or less another standard include
> dir. Moreover, the bootstrap fails with --enable-threads=posix as GNU
> Pth is installed in /usr/pkg.
I'm not sure I agree that "/usr/pkg/include" is a "standard include dir"
(I don't particularly think that "/usr/local/include" is a standard include
dir, either, but that's a separate issue altogether :-) End-user override
of the package installation prefix is a supported feature in NetBSD, so
"/usr/pkg" is far from "standard" (it is merely the default which most people
choose to stick with).
Also, my intent is to support only NetBSD native threads with the
--enable-threads option. My suggestion to you is to use symlinks
if you need to use this with GNU Pth.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Include /usr/pkg/include on NetBSD
2002-10-28 10:17 ` Jason R Thorpe
@ 2002-10-28 11:24 ` Momchil Velikov
2002-10-28 11:36 ` Jason R Thorpe
0 siblings, 1 reply; 4+ messages in thread
From: Momchil Velikov @ 2002-10-28 11:24 UTC (permalink / raw)
To: Jason R Thorpe; +Cc: gcc-patches
On Mon, 28 Oct 2002 10:17:24 -0800
Jason R Thorpe <thorpej@wasabisystems.com> wrote:
> Also, my intent is to support only NetBSD native threads with the
What native threads ?
~velco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Include /usr/pkg/include on NetBSD
2002-10-28 11:24 ` Momchil Velikov
@ 2002-10-28 11:36 ` Jason R Thorpe
0 siblings, 0 replies; 4+ messages in thread
From: Jason R Thorpe @ 2002-10-28 11:36 UTC (permalink / raw)
To: Momchil Velikov; +Cc: gcc-patches
On Tue, Oct 29, 2002 at 12:23:09AM +0200, Momchil Velikov wrote:
> What native threads ?
The ones that are currently available on a development branch in the
NetBSD source tree, and will be shipped in an upcoming release, about
which a paper was published/presented at this year's USENIX.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-28 19:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-27 8:33 Include /usr/pkg/include on NetBSD velco
2002-10-28 10:17 ` Jason R Thorpe
2002-10-28 11:24 ` Momchil Velikov
2002-10-28 11:36 ` Jason R Thorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).