[tlbuild] Solaris fails to process asy's Makefile
John Bowman
bowman at ualberta.ca
Sat Apr 16 18:45:03 CEST 2016
Hi Mojca,
You should definitely compile with gcc (it doesn't have to be the latest
release) to avoid all of these issues. In any case, -ansi is added at line
11 of configure.ac. But compilation is currently only supported for the gcc
and clang compilers due to the kinds of issues you report.
-- John
On Sat, Apr 16, 2016 at 3:23 AM, Mojca Miklavec <
mojca.miklavec.lists at gmail.com> wrote:
> Hi,
>
> There are further problems with asymptote on Solaris:
>
> (a) I'm unable to use the latest gcc for the official TL build because
> that pulls in many undesired dependencies (included, but not limited
> to /opt/csw/lib/libstdc++.so.6).
>
> (b) As soon as I switch to the default system compiler (cc & CC), the
> configure fails with "compiler unable to generate binaries" because
> "-ansi" somehow gets added to CFLAGS/CXXFLAGS and compiler doesn't
> understand that. The fastest workaround to that problem was defining
> some bogus flags like "CFLAGS=-g" (then the -ansi flag wouldn't be
> added).
>
> (c) Then I end up with a number of problems like
> "memory.h", line 32: Error: Could not open include file<ext/hash_map>.
> that should probably have been sorted out during ./configure (which
> should already figure out that ext/hash_map doesn't exist).
>
> I have found
> http://www.oracle.com/technetwork/articles/servers-storage-dev/new-set-and-map-containers-cpp11-2187367.html
> ,
> but I don't have Sun Studio 12.4.
>
> Mojca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20160416/52577af5/attachment.html>
More information about the tlbuild
mailing list