[Top][All Lists]

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

[Tinycc-devel] How do I rename exported DLL function?

From: Ben Hutchinson
Subject: [Tinycc-devel] How do I rename exported DLL function?
Date: Sun, 12 May 2019 21:44:35 -0700

 I have a function which is like this:
__attribute((dllexport,stdcall) int TestFunction(int arg1)

Unfortunately the actual exported name is not TestFunction. Instead it is address@hidden
I want to rename the exported function to just be TestFunction. How do I do that? I know it's possible in Mincrosoft Visual C++ by writing a DEF file with the name you want. However tcc generates its own DEF file with a list of exported functions, and overwrites any changes you made to the DEF file. So using a DEF file will not work to set the names of exported DLL functions in tcc. Is there some kind of workaround for this?

reply via email to

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