Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Steffen Nurpmeso
David CARLIER wrote in : |Here a modified version of the patch, tested on OpenBSD (stable), |FreeBSD and DragonFly. I have not tried it (yet), but a couple of years ago i complained on a FreeBSD list why they use strange and heavy compiler specifics even in the most easy kernel (aka /usr/includ

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Christian Jullien
range...@nongnu.org] On Behalf Of David CARLIER Sent: Thursday, November 26, 2020 17:29 To: jull...@eligis.com; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal Here a modified version of the patch, tested on OpenBSD (stable), FreeBSD and DragonFly. On

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
; > gmake[1]: *** [Makefile:83: ../bt-exe.o] Error 1 > > gmake[1]: Leaving directory '/home/jullien/tinycc/lib' > > gmake: *** [Makefile:269: libtcc1.a] Error 2 > > > > > > -Original Message----- > > From: Tinycc-devel > > [mailto:tinycc-d

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
g] > On Behalf Of Sudipto Mallick > Sent: Thursday, November 26, 2020 16:50 > To: tinycc-devel@nongnu.org > Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal > > Great achievement > > On OpenBSD x86_64, applied your patch and tried to compile, to get an > e

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Christian Jullien
Sudipto Mallick Sent: Thursday, November 26, 2020 16:50 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal Great achievement On OpenBSD x86_64, applied your patch and tried to compile, to get an error that ucontext_t doesn't have uc_rbp as a member; i

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Christian Jullien
home/jullien/tinycc/lib' gmake: *** [Makefile:269: libtcc1.a] Error 2 -Original Message- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of David CARLIER Sent: Thursday, November 26, 2020 12:33 To: tinycc-devel@nongnu.org Subject: [Tinycc-devel] [PAT

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Sudipto Mallick
Great achievement On OpenBSD x86_64, applied your patch and tried to compile, to get an error that ucontext_t doesn't have uc_rbp as a member; i think that was a typo and would be: sc_rbp. fixing that, it compiled smoothly tried to compile a c file using this newly built tcc fails with crt0.o etc.

[Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
Hi, here my first contribution, hope it is useful. Kind regards. From d4ad25cefb7c18975c853dc43390108228f95e68 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 26 Nov 2020 11:26:41 + Subject: [PATCH] DragonFlyBSD build fix. generates proper system constant. errno uses TLS thus tccrun

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
ycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of > > David CARLIER > > Sent: Thursday, November 26, 2020 14:18 > > To: jull...@eligis.com; tinycc-devel@nongnu.org > > Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal > > > > It w

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Christian Jullien
: jull...@eligis.com; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal I just tried quickly FreeBSD, it fails for similar reasons than DragonFlyBSD minus the TLS one. I purposely focus only on DragonFlyBSD to make review easier do you prefer however an overall

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
0 14:18 > To: jull...@eligis.com; tinycc-devel@nongnu.org > Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal > > It works I was able to compile few programs with, tests fail in same > way as on Linux (current mob branch). > > On Thu, 26 Nov 2020 at 12:59, Chr

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Christian Jullien
20 14:18 To: jull...@eligis.com; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal It works I was able to compile few programs with, tests fail in same way as on Linux (current mob branch). On Thu, 26 Nov 2020 at 12:59, Christian Jullien wrote: > >

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
reason or another, > they all failed. > > -Original Message- > From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] > On Behalf Of David CARLIER > Sent: Thursday, November 26, 2020 13:53 > To: tinycc-devel@nongnu.org > Subject: [Tinycc-deve

Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread Christian Jullien
: Thursday, November 26, 2020 13:53 To: tinycc-devel@nongnu.org Subject: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal Hi, here my first contribution, hope it is useful. Kind regards. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https

[Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal

2020-11-26 Thread David CARLIER
Hi, here my first contribution, hope it is useful. Kind regards. 0001-DragonFlyBSD-build-fix.patch Description: Binary data ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel