[Tinycc-devel] Proposed new script to build universal tcc binary on macOS

2022-12-25 Thread Christian Jullien
Hi, As you may know, macOS can build a single file universal binary that is able to run on different processors. By default, it selects the CPU associated to the running machine but, with standard arch command, you can select another CPU (like x86_64 when you're running on an Apple Silicon - M

Re: [Tinycc-devel] Do any flags avoid internal error: relocation failed?

2022-12-25 Thread Harry Yan
Hi Levo, The error messages might come from the following source files: arm64-gen.c:// results in "R_AARCH64_ADR_PREL_PG_HI21 relocation failed" whe n arm64-link.c:tcc_error("R_AARCH64_ADR_PREL_PG_HI21 relocation fa iled"); arm64-link.c:tcc_error("R_AARCH64_(JU

Re: [Tinycc-devel] Do any flags avoid internal error: relocation failed?

2022-12-25 Thread Christian Jullien
It will help maintainers if you tell what tcc version you're using. $ tcc -v tcc version 0.9.27 mob:95e3951 2022-12-24T09:30:00+01:00 (AArch64 Darwin) I daily compile a real and rather complex C file as big as 2835488 bytes wo. PB on Windows 32/64, Linux X86/x64/arm/arm64 as well as few other *B

[Tinycc-devel] IRC channel on oftc.net and libera.chat

2022-12-25 Thread Dr. Manhattan
Hello everyone! To make a long story short, I created and registered a #tcc channel on oftc.net and libera.chat, to provide at least the possibility of giving support and other information for people seeking it via IRC, outside the means of this mailing list (for example to redirect people afte