On Sun, Apr 02, 2017 at 11:01:54PM -0600, alan somers wrote:
> The gmake issue isn't too bad.  Lots of software needs gmake when
> built on FreeBSD.  The bigger problem is that gnucap requires GCC.

interesting.

> FreeBSD's default compiler is Clang, and GCC is a huge dependency to
> bring in.  It would be great if Gnucap would compile with Clang.  The
> following patch gets Gnucap to compile, but not link., with Clang.  I
> get link errors like this:

cannot reproduce. which clang? here
$ clang++ --version
clang version 3.8.1-16 (tags/RELEASE_381/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

> -CCC = g++
> +CCC = c++

thats implemented in make. type
$ make CCC=c++

but yes, configure should know about it. other projects have
./configure CXX=c++. we should do likewise. any volunteers?
(i'd prefer "CXX" over "CCC".)

> >>      I am note sure how the configure script could work on any system
> >> without this change as readline.h references a FILE* but does not
> >> include stdio.

autotools does is "right". if we don't switch, somebody can still port
that. (note that there is an autotools branch ...)

cheers
felix

_______________________________________________
Help-gnucap mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnucap

Reply via email to