tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] How do you specify code model?


From: Michael Matz
Subject: Re: [Tinycc-devel] How do you specify code model?
Date: Fri, 6 Nov 2020 17:14:27 +0100 (CET)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hello,

On Thu, 5 Nov 2020, Somchai Smythe wrote:

With gcc and clang, I specify the AMD64 large code model with
-mcmodel=large
but that doesn't seem to work for tcc.  What is the right way to do that on tcc?

tcc only supports the normal ("small") code model, so there's no way to specify a different one. As the large code model is only useful when your overall code segment in the executable or a shared lib is larger than 2GB the feature isn't very useful even for GCC or LLVM.


Ciao,
Michael.



reply via email to

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