pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiler with PCH support? gcc-aux and gcc5-aux fail to build



from maya%netbsd.org@localhost:

> Sorry, I got confused between CONFIGURE_ENV and CONFIGURE_ARGS.
> This should do it.
 
> Index: Makefile
===================================================================
> RCS file: /cvsroot/pkgsrc/lang/gcc-aux/Makefile,v
> retrieving revision 1.27
> diff -u -r1.27 Makefile
> --- Makefile    19 Jan 2017 18:52:13 -0000      1.27
> +++ Makefile    4 Jul 2017 07:51:25 -0000
@@ -192,6 +192,7 @@
>  CONFIGURE_ARGS+=       --prefix=${PKG_PREFIX:Q}
>  CONFIGURE_ARGS+=       --enable-threads=posix
>  CONFIGURE_ARGS+=       --enable-checking=release
> +CONFIGURE_ARGS+=       --disable-libstdcxx-pch
>  CONFIGURE_ARGS+=       --disable-libmudflap
>  CONFIGURE_ARGS+=       --disable-libgomp
>  CONFIGURE_ARGS+=       --disable-libssp

I inserted the line at a different place. 

I tried again, putting the line in the correct place as if it would make a difference, ran "make clean" before to get rid of previous misconfiguration, and succeeded on both gcc-aux and gcc5-aux.

I haven't run it yet.  I suspect gcc-aux is the same thing I had installed previously.

Now another problem: X won't start, after I had built some X applications but no web browsers except nongraphical elinks.  That has happened before.  I wish the NetBSD Guide would say something about nonstarting X in Chapter 9.

gcc-aux or gcc5-aux may still be useful for cross-compiling Linux toolchains.

Tom


Home | Main Index | Thread Index | Old Index