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

2016-10-24 Thread Christian Jullien
You can compile but not link. Maybe you need and extra package for the linker. $ gcc -m32 foo.c /usr/local/bin/ld: skipping incompatible /usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd11.0/4.8.5/libgcc.a when searching for -lgcc /usr/local/bin/ld: skipping incompatible //usr/lib/libgcc.a when

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

2016-10-24 Thread Michael Matz
Hi, On Thu, 20 Oct 2016, David Mertens wrote: > > For instance, this is wrong for PCC layout. MS layout indeed switches > > storage containers when the base type changes, i.e. here: > > > > struct S { > > char c:1; > > short s:1; > > char foo; > > }; > > > > PCC layout has no such

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

2016-10-24 Thread Michael Matz
Hi, On Thu, 20 Oct 2016, Christian Jullien wrote: > I'm sure you'll not believe me, but it's NOT an April Fool. > > $ uname -a > FreeBSD freebsd64.eligis.com 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 > r306420: Thu Sep 29 01:43:23 UTC 2016 >