Re: [Tinycc-devel] Error compiling musl

2024-12-09 Thread Brian Mayer
Thanks Yao Zi, I have used your patches, and for most errors I copied the corresponding file from your project. I did this for probably 50% of the files in /math, and some other files. Now I think this is the link part, and it fails with this error: # make cc -std=c99 -nostdinc -ffreestanding -fe

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-24 Thread Yao Zi via Tinycc-devel
On Sun, Nov 24, 2024 at 05:51:59PM -0300, Brian Mayer wrote: > Hello again. > > > Very long ago I did similar tries. As a workaround, I rewrote the > > syscall wrapper in musl[1]. > > > > For the reason, I think there's something wrong in x86-64 asm constraint > > computation, since r10 is always

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-24 Thread Brian Mayer
Hello again. > Very long ago I did similar tries. As a workaround, I rewrote the > syscall wrapper in musl[1]. > > For the reason, I think there's something wrong in x86-64 asm constraint > computation, since r10 is always in a register. satisfying the > constraint. > > Cheers, > Yao Zi Thanks for

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-13 Thread Yao Zi via Tinycc-devel
On Tue, Nov 12, 2024 at 07:08:47PM -0300, Brian Mayer wrote: > >> After the release, i plan to work on the following C99/C11 items and see, > >> what is needed to implement them: > Great to hear that! > > Continuing on the subject: after moving away the complex folder the > compilation went a bit

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-12 Thread Brian Mayer
>> After the release, i plan to work on the following C99/C11 items and see, >> what is needed to implement them: Great to hear that! Continuing on the subject: after moving away the complex folder the compilation went a bit more, until this error appeared: /home/lord/git/lin0/tools/bin/tcc -std

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-06 Thread Eric Raible
For what it's worth I would _love_ to see _Thread_local On Wed, Nov 6, 2024, 12:02 PM Detlef Riekenberg via Tinycc-devel < tinycc-devel@nongnu.org> wrote: > Hi Brian > > > > Hi, I'm trying to compile musl libc with tinycc, I'm getting this error: > > ./include/complex.h:16: error: _Complex is not

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-06 Thread Brian Mayer
Hi Detlef. > > I saw some messages on this mailing list about requests for it, > > including a patch. > > Can you remember, when the message was send? Yes, 2015: https://lists.nongnu.org/archive/html/tinycc-devel/2015-11/msg00070.html And the patch: https://lists.nongnu.org/archive/html/tinycc-d

Re: [Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-06 Thread Ivo van Poorten
On Wed, 6 Nov 2024 20:01:56 + Detlef Riekenberg via Tinycc-devel wrote: > when the message was send? The only thing I can find in my archive is: From: Edmund Grimley Evans Subject: [Tinycc-devel] complex types Date: Mon, 23 Nov 2015 23:19:44 + I don't think its complete. Regards, Ivo

[Tinycc-devel] Error compiling musl (_Complex not supported): Waiting for a release

2024-11-06 Thread Detlef Riekenberg via Tinycc-devel
Hi Brian> Hi, I'm trying to compile musl libc with tinycc, I'm getting this error:> ./include/complex.h:16: error: _Complex is not yet supportedAfter the release, i plan to work on the following C99/C11 items and see, what is needed to implement them:* Fix atomic support (C11)   (Every access to an

[Tinycc-devel] Error compiling musl

2024-11-05 Thread Brian Mayer
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. In case the compiler doesn't support complex types, is it a planned