Article View: borland.public.cppbuilder.deployment
Article #25Re: deploy exe file
From: Roee Bachar
Date: Mon, 02 May 2005 20:35
Date: Mon, 02 May 2005 20:35
63 lines
3244 bytes
3244 bytes
Thanks Ed It's working Roee "Ed Mulroy [TeamB]" <dont_email_me@invalid.com> wrote in message news:42738705@newsgroups.borland.com... > From the question it seems that your project is built as Dynamic > LInked. The compiler's runtime libraries and packages already exist > on your machine. The project is built to use those items that are on > your machine instead of building their code into your EXE file. > > To change that, do these things: > > Under Project|Options|Compiler > uncheck "Use dynamic RTL" > Under Project|Options|Packages > uncheck "Build with runtime packages" > Select Project|Build > > The change above changes the project to Static Linked. Those items > from the runtime libraries and packages that are used by the project > are built into the EXE. No external DLLs or Packages are needed but > the code used from them is now inside the EXE file so it is larger. > > Note that you do not need to do a BCB install on the other machine to > run a dynamic linked program on it. What is needed is for the DLLs > and Packages that the program uses to be on the target machine. If > you are creating many programs to run on the target machine it usually > more efficient to dynamic link so that only one copy of the code from > those other items is on the target machine. If only one or two > programs are to be on that machine then static linked is most likely > the way to go. > > You can find out what DLLs and packages are needed with a command like > this: > > tdump -em. ProgName.exe > (do not overlook the '.' at the end of the '-em.' above) > > That will give you a list of the DLLs and Packages (tdump calls them > 'modules') used by the EXE. > > Because they can also use such things you need to repeat the command > for the DLLs and Packages that are reported to build a full list of > what is used. > > Those needed items would then be placed onto the target machine in > some combination of the same directory as the program or in the system > path (one of the directory locations shown when you give the command > PATH). > > . Ed > > > Roee Bachar wrote in message > > news:42734723@newsgroups.borland.com... > > > > I'm using BCB V6. > > How do I deploy only exe file that can run without the need of > > BCB install on that machine > >
Technical Details
Message-ID:
<4276810e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42734723@newsgroups.borland.com> <42738705@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,130312e227169d99 X-Google-Attributes: gidf8e54,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Roee Bachar" <mrroee@netvision.net.il> Newsgroups: borland.public.cppbuilder.deployment References: <42734723@newsgroups.borland.com> <42738705@newsgroups.borland.com> Subject: Re: deploy exe file Date: Mon, 2 May 2005 22:35:23 +0200 Lines: 65 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 NNTP-Posting-Host: 217.132.112.211 Message-ID: <4276810e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115062542 217.132.112.211 (2 May 2005 12:35:42 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail