If you are using GCC, you can use the linker parameters "wl, -eentry <your
entry point label goes here>" to change the name of the entry point to your
custom program entry point. The compiler will still link any crt*.o files
before the entry point is called, but if you don't need that you can disable
it with -nodefaultlibs. If you are using a different compiler/linker other
than GCC, refer to their documentation for the specific parameters required to
set the entry point to your custom entry point.
Andrew
On 2018-07-07 at 4:39 AM, Antonio Scuri <antonio.sc...@gmail.com> wrote:
The mixed run times would be a temporary solution while there isn't a built
with the run time you want.
But I'm glad you found a solution yourself.
Best,
Scuri
Em 7 de jul de 2018 5:41 AM, "FMDSPAM" <fmds...@md-web.de> escreveu:
Hi all (answering myself)
I still have to avoid IUPs definition of WinMain() by iupwindow_main.c
but wasn't able to compile the lib myself.
But: Success through evil deeds (for the time being).
I patched "WinMain" to "winmain" in my copy of the iup.lib file. (Awful
but helpful)
Now my linker sees no more reason to complain and everything works (for
now).
Kind regards,
Frank
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users