[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Inconsistency gcc/tcc on visibility hidden
From: |
Michael Matz |
Subject: |
Re: [Tinycc-devel] Inconsistency gcc/tcc on visibility hidden |
Date: |
Mon, 7 May 2018 23:16:32 +0200 (CEST) |
User-agent: |
Alpine 2.20 (LSU 67 2015-01-07) |
Hi,
On Sun, 6 May 2018, ag wrote:
tcc -o liba-tcc.so alib.c -g -O2 -shared -fPIC -fvisibility="hidden"
TCC doesn't support the -fvisibility= option at all. By default it
silently accepts all -f options, if you want a warning then do:
% tcc ... -Wunsupported ... -fvisibility=hidden
tcc: warning: unsupported option '-fvisibility=hidden'
Ciao,
Michael.