[Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-17 Thread Christian Jullien
Hi Grischka, This one tccpp_new/delete and other cleanups commit 0be098929a062d706057d7beb78666daa52bac49 still works on FreeBSD with of course C library not found as previously reported But next commit configure: --triplet= option, Makefile: cleanupmob commit

Re: [Tinycc-devel] Weird bitfield size handling, discrepancy with gcc

2016-10-17 Thread Richard Brett
Hello Is this really a problem for tcc? An old version of VC produces the same sizes as tcc. The spec seems to say (not sure I'm reading this right, first time I've read the spec) "An implementation may allocate any addressable storage unit large enough to hold a bitfield.snip.

[Tinycc-devel] Weird bitfield size handling, discrepancy with gcc

2016-10-17 Thread David Mertens
Hello everyone, I recently uncovered some segfaulting code when compiling code with macros that manipulate certain Perl structs on 64-bit Linux. I boiled the problem down to a discrepancy between how tcc and gcc determine the size needed by a series of bit fields. The tcc-compiled function would

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-17 Thread Christian Jullien
Hi, $ find /usr/lib -name crt1.o /usr/lib/crt1.o -Original Message- From: grischka [mailto:gris...@gmx.de] Sent: lundi 17 octobre 2016 18:32 To: Christian JULLIEN; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues Christian JULLIEN

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-17 Thread grischka
Christian JULLIEN wrote: tcc: error: file 'crt1.o' not found Can you look where your file is? $ find /usr/lib -name crt1.o -- gr ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Use TCC with GSL under Windows

2016-10-17 Thread Chen, Xianwen
Dear Michael, Thank you. I'm using the latest release, but not the latest version as of the source code. Are you suggesting me to compile tcc itself from source codes? Warm regards, Xianwen On 14.10.2016 17:56, Michael Matz wrote: > Hi, > > On Tue, 11 Oct 2016, Chen, Xianwen wrote: > >> In

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

2016-10-17 Thread Christian JULLIEN
This morning, it was on FreeBSD x64, nox testing on i386 gives me a different result with again __aligned issue. ../tcc -B.. -I../include -I.. -I.. -DTCC_TARGET_I386 -DONE_SOURCE -run ../tcc.c -B.. -I../include -I.. -I.. -DTCC_TARGET_I386 -DONE_SOURCE -run ../tcc.c -B.. -I../include -I.. -I..