Link all the bpl files into exe

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Link all the bpl files into exe

Postby smd » Sun Nov 27, 2016 10:51 pm

Using RAD Berlin Update 2

I have a program written in Firemonkey C++. Kind of big, fully tested, works fine. I compiled as a release, it works fine. To use the compiled program on another computer requires copying a dozen bpl files with the exe file.

I poked through the documentation about the linker, but cannot find a way to cause all those bpl files to link into the exe so the program is a single file. Is there a way to link all the bpl files into the exe file?
Posts: 138
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas

Re: Link all the bpl files into exe

Postby 2ffat » Mon Nov 28, 2016 5:51 am

Have you done the following?

Project->Options ->C++ Linker option on the left-hand side of the form and select it . On the right-hand side look for Link with Dynamic RTL and click on the selection button to change true to false (off). Then click on the Link with Delphi Runtime Library and click on selection button to change true to false (off).

Scroll down to Packages->Runtime Package on the left-hand side. On the right-hand side click on the button next to Link with runtime packages to turn it false (off).
James P. Cottingham

Look at me still talking
when there is science to do.
User avatar
Forum Mod
Forum Mod
Posts: 448
Joined: Wed Jun 23, 2004 7:07 am
Location: South Hill, VA

Return to Technical

Who is online

Users browsing this forum: No registered users and 32 guests