[Tinycc-devel] Noob Questions about 64 bit systems

2017-05-06 Thread Patrick
ink I am better off loading on a 32 bit computer? If you would like the errors I can post but they seem to be integer related such as make check failing with errors about type long etc.. Thanks for reading-Patrick ___ Tinycc-devel mailing list Tinycc-d

[Tinycc-devel] Documentation Suggestion

2018-03-12 Thread Patrick
Hi Everyone I tried TCC a few years ago. If I remember correctly I used something like CC=tcc in my bashrc. I wasn't able to compile anything but toy programs with it and I moved on. Last night I tried again but this time I did not alter my bashrc but instead used ./configure disable-shared

Re: [Tinycc-devel] Documentation Suggestion

2018-03-12 Thread Patrick
On 18-03-12 09:27 AM, arn...@skeeve.com wrote: Patrick wrote: Last night I tried again but this time I did not alter my bashrc but instead used ./configure disable-shared CC=tcc I guess TCC can't generate position independent code. I am having a lot more luck now and I had a great time

Re: [Tinycc-devel] Documentation Suggestion

2018-03-12 Thread Patrick
On 18-03-12 09:39 AM, Patrick wrote: On 18-03-12 09:27 AM, arn...@skeeve.com wrote: Patrick wrote: Last night I tried again but this time I did not alter my bashrc but instead used ./configure disable-shared CC=tcc I guess TCC can't generate position independent code. I am having a lot

[Tinycc-devel] help with windows + tcc

2018-03-13 Thread Patrick
:\TCC\INCLUDE I am getting two errors: library libtcc-32.a not found and undefined symbol _start Could you tell me what I am doing wrong? Thanks for reading-Patrick ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman

Re: [Tinycc-devel] help with windows + tcc

2018-03-13 Thread Patrick
Hi Everyone Sorry for answering my own post. I just want to mention that I retried everything with the 64 bit package on Windows 7 and everything is fine. If you happen to know how to get this to work on Windows 98, that would be nice as it's much lighter weight and easier to run in Qemu. I

[Tinycc-devel] Compiling to Bare Metal and to Unusual Targets ?

2019-03-11 Thread Patrick
to help right? "--config-uClibc,-musl,-mingw32... enable system specific configurations" Thanks for reading-Patrick ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Compiling to Bare Metal and to Unusual Targets ?

2019-03-12 Thread Patrick
Thanks Michael ! You have another tinycc-disciple now. If I find arm bugs, I will try to study and fix them myself. I will also report back with successes and failures. I work very slowly but I will be back-Patrick On 2019-03-12 01:14 PM, Michael Matz wrote: Hi, On Mon, 11 Mar 2019

Re: [Tinycc-devel] tcc bootstrap

2014-03-09 Thread Patrick Lauer
run the testsuite) Downside: Increases compile time (up to ... almost 5 seconds! ;) ), adds more complexity to the Makefiles, ... Maybe it would be useful as a Makefile target? > Ok, using gcc -O3 you can generate a tcc that compiles faster any program

[Tinycc-devel] Preprocessing behavior

2017-04-12 Thread Patrick Pelissier
ead of the expected output: 1 0 tested with tcc 536ed76d5a69d8e3c0e247d6557f5942818cb253 -- Regards, Patrick Pélissier ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] Preprocessing issue?

2017-07-05 Thread Patrick Pelissier
, which is not was expected too. I wasn't able to reduce the test case any further. -- Regards, Patrick Pélissier ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] Integer promotion issue?

2018-03-31 Thread Patrick Pelissier
} when compiled with TCC GIT c41caac02d53373b296ccb179b730ada62137cc0 produces the result on an linux/x86-64 platform: N=9223372036854775810 whereas I was expecting N=2 -- Regards, Patrick Pélissier ___ Tinycc-devel mailing list Tinycc-devel@nongn

[Tinycc-devel] arraystring, a simple C program which doesn't compile

2020-05-30 Thread Patrick Hammer
gram which doesn't compile in an extra thread. Best regards, Patrick arraystring.c Description: Binary data arraystring_workaround.c Description: Binary data arraystring_workaround2.c Description: Binary data arraystring_workaround3.c Description: Binary data __

[Tinycc-devel] stringify, another simple C program which doesn't compile

2020-05-30 Thread Patrick Hammer
in my program though. In this case it might be an issue with the preprocessor and not the parser. Best regards, Patrick stringify.c Description: Binary data stringify_workaround.c Description: Binary data stringify_workaround2.c Description: Binary

Re: [Tinycc-devel] It seem I pull code in wrong way. How can I revert it?

2020-09-11 Thread Patrick Hammer
ushed with a wrong email address, and this demands a rebase&amend, which changes all commit hashes beginning from the edited commit. Best regards, Patrick Am Fr., 11. Sept. 2020 um 17:25 Uhr schrieb Pursuer <1596067...@qq.com>: > I found a way to remove these empty commit, by use "

[Tinycc-devel] Preprocessing issue?

2023-12-08 Thread Patrick Pelissier
81a32ec305ee871d8129978bf3d57bc108bec46b) The program is a little bit long so it is available here: https://gist.github.com/P-p-H-d/aeb690c7ed396b57a84f9a5fc83e10c0 -- Regards Patrick ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo

Re: [Tinycc-devel] Preprocessing issue?

2023-12-28 Thread Patrick Pelissier
Hi, Thanks for the patch. I am not competent to know if it is correct but at least It fixes my issue. -- Regards, Patrick On Sun, Dec 24, 2023 at 8:43 AM Herman ten Brugge wrote: > > On 12/8/23 20:47, Patrick Pelissier wrote: > > Hi, > > > > I think I ha

[Tinycc-devel] Array type not promoted within comma operator

2023-12-28 Thread Patrick Pelissier
" type since it uses the comma operator. -- Regards, Patrick ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Array type not promoted within comma operator

2024-01-02 Thread Patrick Pelissier
On Tue, Jan 2, 2024 at 8:52 AM Herman ten Brugge wrote: > I cannot find a lot of information on this feature. > Is it a gcc/clang extension? > Does it only apply to typeof? I think it is §6.3.2.1.3 of C11. -- Regards, Patrick ___ Tin

[Tinycc-devel] Bug report

2005-12-26 Thread Patrick Leslie Polzer
Hello list, I just tried making GNU Parted compatible with tcc and have finally succeeded, though only with a wrapper script and some modifications. Maybe you are interested in what I've found. 1) 64 bit issue: struct A { uint64_t field:N; } does not work because tcc thinks uint64_t is