Re: [Tinycc-devel] Cross-compiling tcc from macOS to Linux

2025-04-08 Thread Michael Ackermann via Tinycc-devel
Two patches are attached to help with cross-compiling with tinycc and cross-compiling tinycc itself: tcc--library_path.patch to override system include and library search path tcc--makefile_cross.patch to address cross-compilation issues Furthermore it helped to disable bounds-checker and

[Tinycc-devel] Cross-compiling tcc from macOS to Linux

2025-04-08 Thread Ludvig Christensen via Tinycc-devel
Hi everyone! I am currently working on my master's thesis on diverse double-compiling and have opted for using tcc. Right now I am trying to use x86_64-tcc (targeting x86_64 Linux) on macOS 15.1 to compile a native tcc for x86_64 Linux. The full build pr