Re: [Tinycc-devel] macos: DYLD_LIBRARY_PATH no longer works after cleanup

2020-07-10 Thread ian
Hi. Please consider not  fucking everybody's mailing-list. I ain't a  chat hu ? But FYI your  contribution is welcomed, many thanks. ian Le 09/07/2020 à 23:16, avih via Tinycc-devel a écrit : > > I've pushed a fix to mob to support arbitrary libdir (c69290fb). > > The relative path is now

[Tinycc-devel] macos: new tcc command line option?

2020-07-10 Thread Christian Jullien
Hi maintainers, As often, Apple reinvent the wheel and makes things differently. Among other, clang handles shared libs .dylib with a different set of compiler options. For example, -shared is replaced by -dynamiclib etc. It means that a ./configure must test if it uses clang or tcc and

Re: [Tinycc-devel] Tiny c availability

2020-07-10 Thread Steffen Nurpmeso
Christian Jullien wrote in <002701d65677$164843e0$42d8cba0$@orange.fr>: |i wrote: ||Christian Jullien wrote in ||<003901d65604$ce397be0$6aac73a0$@orange.fr>: |||I added USES file which list known projects working with tcc. To be \ |||completed || ||With zest. |Hi, which zest are you

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

2020-07-10 Thread avih via Tinycc-devel
Thanks. Yeah, I was suspecting it could have been the case. Nevertheless, I thought it's worth noting, for the record. Cheers. On Friday, July 10, 2020, 02:56:19 PM GMT+3, Christian Jullien wrote: Thank you for testing the different configure options on macos. I can easily fix

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

2020-07-10 Thread Christian Jullien
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 tcc -shared -o libtcc.dylib libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o x86_64-link.o i386-asm.o

[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 &&