Re: [Tinycc-devel] [issue] macos: tcc cannot self-host with --disable-static

2020-07-13 Thread Michael Matz
Hello, On Fri, 10 Jul 2020, Christian Jullien wrote: Thank you for testing the different configure options on macos. I can easily fix this but it will fail later. I'm not sure that tcc is currently able to generate .dylib It's not, and even if it were I wouldn't want to support the complete

Re: [Tinycc-devel] [issue] macos: tcc cannot self-host with --disable-static

2020-07-10 Thread avih via Tinycc-devel
[mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of avih via Tinycc-devel Sent: Friday, July 10, 2020 11:42 To: tinycc-devel@nongnu.org Cc: avih Subject: [Tinycc-devel] [issue] macos: tcc cannot self-host with --disable-static Self-hosting with static linking works fine: [ -e

Re: [Tinycc-devel] [issue] macos: tcc cannot self-host with --disable-static

2020-07-10 Thread Christian Jullien
tccmacho.o tcc: error: _main not defined -Original Message- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of avih via Tinycc-devel Sent: Friday, July 10, 2020 11:42 To: tinycc-devel@nongnu.org Cc: avih Subject: [Tinycc-devel] [issue] macos: tcc cannot self

[Tinycc-devel] [issue] macos: tcc cannot self-host with --disable-static

2020-07-10 Thread avih via Tinycc-devel
Self-hosting with static linking works fine: [ -e ./conftest.c ] || { echo error: not tcc root; exit 1; } rm -rf ./bld ./bldself ./dist1 2>/dev/null || : mkdir bld && cd bld && \ ../configure --prefix=$(pwd)/../dist1 && make && make test && make install cd .. && mkdir bldself && cd bldself &&