tinycc-devel
[Top][All Lists]
Advanced

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

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


From: David CARLIER
Subject: Re: [Tinycc-devel] [PATCH] DragonFlyBSD build fix proposal
Date: Thu, 26 Nov 2020 16:28:49 +0000

Here a modified version of the patch, tested on OpenBSD (stable),
FreeBSD and DragonFly.

On Thu, 26 Nov 2020 at 16:15, David CARLIER <devnexen@gmail.com> wrote:
>
> Are they with / without the fix ? Because normally the changes would
> address those I saw them too.
>
> On Thu, 26 Nov 2020 at 16:14, Christian Jullien <eligis@orange.fr> wrote:
> >
> > Same result, also NetBSD still fails with:
> >
> > -bash-5.0$ ./configure
> > Binary directory    /usr/local/bin
> > TinyCC directory    /usr/local/lib/tcc
> > Library directory   /usr/local/lib
> > Include directory   /usr/local/include
> > Manual directory    /usr/local/share/man
> > Info directory      /usr/local/share/info
> > Doc directory       /usr/local/share/doc
> > Source path         /home/jullien/tinycc
> > C compiler          gcc (7.4)
> > Target OS           NetBSD
> > CPU                 x86_64
> > Config              ldl=no
> > Creating config.mak and config.h
> > config.h is unchanged
> > -bash-5.0$ gmake
> > gmake[1]: Entering directory '/home/jullien/tinycc/lib'
> > ../tcc -c bt-exe.c -o ../bt-exe.o -B.. -I..
> > In file included from bt-exe.c:6:
> > In file included from ../tccrun.c:21:
> > In file included from ../tcc.h:29:
> > In file included from /usr/include/stdlib.h:37:
> > /usr/include/sys/cdefs.h:441: error: #error "No function renaming possible"
> > 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-devel-bounces+eligis=orange.fr@nongnu.org] 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
> > 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. not found error :(
> >
> > ~smlckz
> >
> > _______________________________________________
> > Tinycc-devel mailing list
> > Tinycc-devel@nongnu.org
> > https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> >
> >
> > _______________________________________________
> > Tinycc-devel mailing list
> > Tinycc-devel@nongnu.org
> > https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Attachment: 0001-BSD-systems-build-fixes.patch
Description: Text Data


reply via email to

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