I _think_ the current win32 definitions are from Windows XP.

If we update to newer definitions, then I assume it would compile
successfully programs which use newer APIs, but the question is
what happens at runtime.

mingw has a system to define what to target (I don't recall the
specifics), so unless tcc's mingw files already have it, I think
it would need to be added, or at least considered.

- avih

     On Saturday, September 18, 2021, 09:03:12 AM GMT+3, Christian Jullien 
<[email protected]> wrote:  
 
 <!--#yiv2067060550 _filtered {}#yiv2067060550 #yiv2067060550 
p.yiv2067060550MsoNormal, #yiv2067060550 li.yiv2067060550MsoNormal, 
#yiv2067060550 div.yiv2067060550MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", 
"sans-serif";}#yiv2067060550 a:link, #yiv2067060550 
span.yiv2067060550MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv2067060550 a:visited, #yiv2067060550 
span.yiv2067060550MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv2067060550 
span.yiv2067060550EmailStyle17 {font-family:"Calibri", 
"sans-serif";color:windowtext;}#yiv2067060550 .yiv2067060550MsoChpDefault 
{font-family:"Calibri", "sans-serif";} _filtered {}#yiv2067060550 
div.yiv2067060550WordSection1 {}-->
Hi,

  

If I regenerate a kernel32.def out of kernel32.dll on my Windows 10 21H1 
machine it is 3x times bigger that the one that currently comes with tcc. (see 
enclosed)

It means many kernel32 API are not directly available for tcc.

  

It is probably the same with other .def files

  

What do you advice ?

  

  
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
  
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to