Link all the bpl files into exe

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Post Reply
smd
BCBJ Guru
BCBJ Guru
Posts: 140
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas
Contact:

Link all the bpl files into exe

Post by smd »

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?
-----------------------------
Scott
User avatar
2ffat
Forum Mod
Forum Mod
Posts: 452
Joined: Wed Jun 23, 2004 7:07 am
Location: South Hill, VA
Contact:

Re: Link all the bpl files into exe

Post by 2ffat »

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.
Post Reply