tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] macos problems


From: Robert Hölzl
Subject: [Tinycc-devel] macos problems
Date: Wed, 15 Apr 2020 03:12:48 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Hello,

I fixed the compilation problems of libtcc1.a on macOS (see commit ID 1803762e3f86aff58d5cce78f7d4faf88e74cc6b).

But when creating a regular executable I get the following error messages:

tcc: error: unrecognized file type
tcc: error: file 'crt1.o' not found
tcc: error: file 'crti.o' not found
tcc: error: bad architecture
tcc: error: library 'c' not found
tcc: error: file 'crtn.o' not found

It looks like tcc_load_ldscript() in tccelf.c failed when loading crt1.o (ld_next() did not return LD_TOK_NAME).

Again: older versions (i.e. commit id 944c) of tcc worked.

best regards,
Robert




reply via email to

[Prev in Thread] Current Thread [Next in Thread]