Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-07 Thread rain1
On 2018-04-06 22:05, Michael Matz wrote: Hi, On Fri, 6 Apr 2018, ra...@airmail.cc wrote: I tried modifying my test program to use __attribute instead, in that case the code line 3345: case TOK_ALIGNED2: is being executed which is good. but again the output is not zeros. Perhaps a.aligned is b

Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-06 Thread rain1
On 2018-04-06 20:13, Michael Matz wrote: Hi, On Thu, 5 Apr 2018, ra...@airmail.cc wrote: I made this test program which I expect to print all 0's, but it doesn't. I noticed that after tcc -E the attributes have all disappeared. Any idea what is stopping this from working? the attribute is

[Tinycc-devel] preprocessor makes attributes disappear

2018-04-04 Thread rain1
Hello! I made this test program which I expect to print all 0's, but it doesn't. I noticed that after tcc -E the attributes have all disappeared. Any idea what is stopping this from working? the attribute is documented and code gen seems to respect TOK_ALIGNED. I wasn't able to understand h

[Tinycc-devel] Can tinycc build musl libc?

2017-11-23 Thread rain1
Hello Can tinycc be used to build musl libc? I attempted by using this command line: CC=tcc ./configure --target=x86_64-linux-musl but I got this error: tcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -

Re: [Tinycc-devel] building older gcc with tcc?

2017-05-28 Thread rain1
On 2017-05-27 11:57, ra...@openmailbox.org wrote: Hello I would like to build an older version of the gcc compiler using tcc (then use that to build newer gcc's). On this page it says that tcc was used to build gcc in the past. I'm having tro

[Tinycc-devel] building older gcc with tcc?

2017-05-27 Thread rain1
Hello I would like to build an older version of the gcc compiler using tcc (then use that to build newer gcc's). On this page it says that tcc was used to build gcc in the past. I'm having trouble doing that and I wanted to ask if anybody k