Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delphi precompiled files part3 #65

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SkybuckFlying
Copy link

@SkybuckFlying SkybuckFlying commented Dec 27, 2021

Interesting experiment, makes building and debugger PascalCoin faster and easier, though Delphi 10.3 does it have it's strange bugs and environment limitation in debugger. So folders/path must be set manually per programmer/system.
Hopefully this technique can allow bigger applications/system to be build.
Runtime libraries could be re-used for miner or other tools/applications.

Perhaps different builds/targets can be added to build without runtime packages, for best of both worlds. I am pretty sure this can be done as well, and will be future work in part X-to-be-determined.

Build with Run-Time Packages
pascalcoin_wallet_classic project modified to build with run-time
packages.

Special Runtime Packages:

  1. Delphi 10.3 rtl270.bpl added
  2. Delphi 10.3 dbrtl270.bpl added

Special Runtime Libraries:
3. libcrypto

All binaries are now stored in their own platform and config folder.
Except the special runtime packages they are in their own platform only
folder.

To use this project for debugging go to debugger settings and change
the environment variable override for path to where your pascalcoin
folders are. This has to be done for each platform and config until
a solution is found to automate this.

Executables added too these are release 5.7

RandomHash slightly changed to try and solve weird build error. When
this happens build again to solve the weird build error. The bad package
weird build error happens after switching build targets in Delphi 10.3.

Three libraries replaced with git submodules:

1. CryptoLib4Pascal
2. HashLib4Pascal
3. SimpleBaseLib4Pascal

This will make updating these projects in the future easier and
thus PascalCoin can benefit from any improvements or bug fixes
made to these libraries by simply fetching+merging or pulling
in the changes.

Delphi folder with pre-compiled files added:

1. Less memory used by compiler.
2. Faster compile times.
3. Dynamically loading run-time libraries becomes possible
for PascalCoin.
ProjectGroup added to help re-compile submodules for different
delphi compiler versions.
pascalcoin_wallet_classic project modified to build with run-time
packages.

Special Runtime Packages:
1. Delphi 10.3 rtl270.bpl added
2. Delphi 10.3 dbrtl270.bpl added

Special Runtime Libraries:
3. libcrypto

All binaries are now stored in their own platform and config folder.
Except the special runtime packages they are in their own platform only
folder.

To use this project for debugging go to debugger settings and change
the environment variable override for path to where your pascalcoin
folders are. This has to be done for each platform and config until
a solution is found to automate this.

Executables added too these are release 5.7

RandomHash slightly changed to try and solve weird build error. When
this happens build again to solve the weird build error. The bad package
weird build error happens after switching build targets in Delphi 10.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant