Welcome, Guest
Username: Password: Remember me
If you want to share any helpful source code, libraries, tools, etc, to help programming with CT, this is the right place to do this.
  • Page:
  • 1

TOPIC:

THE Real OPTIMIZED IDE 10 years 7 months ago #4412

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
this is my way to install a really optimized TyphonIDE on my computerS under windows 7 and Ubuntu 12 =

A ) Follow the normal Typhon INSTALL ALL procedure

1) Open CT Center

2) on the tools tab, open settings editor

3) edit FPC32 fpc.cfg AND FPC64 fpc.cfg as follow =>
# For a release compile with optimizes and strip debuginfo
#IFDEF RELEASE
  -O3
  -OoCSE
  -OoSTACKFRAME
  -OoREGVAR
  -Xs
  #WRITE Compiling Release Version
#ENDIF

Dont forget to Save the files ! (click on floppy icon)

4) close the settings editor go back to CT Center

5) DO Free Pascal > FPC32 Build Compiler AND then Free Pascal FPC64 Build Compiler

6) close CT Center

B ) for each built IDE (typhon32 and typhon64 on windows) do as follow :

1) launch the IDE, use menu "Tools" >> "Configure build Typhon"

2) replace the "-g-" in the options field by "-O3 -g- -OoCSE -OoSTACKFRAME -OoREGVAR -OoTAILREC"

3) select the "Clean all" switch

4) Check the "Switch after building to automatically" mark

5) click the "Build" button and wait until the IDE will restart !

IMPORTANT : under windows the build process will complain that multiple units have the same name (actually DIRECTX9 support unit from pl_ORCA and pl_Win_DirectX packages) , JUST click ignore and continue the build process !

ENJOY !

following these steps , if you get a look in the folders were typhon IDE's binaries are, you will notice the size of BigIDE has decrease from around 1000 - 1500KB and typhon still works fine !

Hope this trick is usefull...

in case of you experience any problem (and i dont B) neither on windows and linux ), you just have to remove all and reinstall all from CT Center
The following user(s) said Thank You: Carsten G.

Please Log in or Create an account to join the conversation.

Last edit: by gulyone.
  • Page:
  • 1