tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Error compiling musl


From: gz8cx4
Subject: Re: [Tinycc-devel] Error compiling musl
Date: Wed, 6 Nov 2024 09:21:56 +0100

On Tue, Nov 05, 2024 at 08:47:42PM -0300, Brian Mayer wrote:
> Hi, I'm trying to compile musl libc with tinycc, I'm getting this error:
> 
> ./include/complex.h:16: error: _Complex is not yet supported
> 
> I guess the compiler does not support complex types, am I right, or is
> it something on my end.

As a workaround, for building and using musl with tinycc, at least with
musl-1.1.23 it worked fine to omit the complex arithmetic support:
 mv src/complex complex-type-is-not-supported

Other tweaks to the build also may be needed of course, but in my experience
tinycc is well capable of building musl, as long as math support for _Complex
is not needed by the applications.

/tccm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]