Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't build a static executable in RAD Studio C++ Builder XE

I need to build my C++ Builder XE project with linked static library so I can get a large executable file in the Project's Debug\Win32 directory but I can't.

Everytime I try to build my project, it doesn't builds the executable with the Runtime Library whereas I have set the Project's Option to disable the "Link with Dynamic RTL" and enable the "Build with runtime packages" like this:

enter image description hereenter image description here

What's going wrong here? Any idea?

Thank a lot in advance.

like image 891
Andromeda Avatar asked Feb 17 '23 09:02

Andromeda


1 Answers

You need to turn OFF both the "Link with Dynamic RTL" and the "Build with runtime packages" options. Dynamic RTL and Runtime packages are all external DLLs.

like image 187
Remy Lebeau Avatar answered Feb 23 '23 04:02

Remy Lebeau