Recent

Author Topic: Will Lazarus support 'dynamic package' in the future ?  (Read 22582 times)

zariq

  • Full Member
  • ***
  • Posts: 109
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #15 on: December 30, 2013, 11:57:04 pm »
Thank you :). I will try Linux. I have never used Linux before :)

There are reasons to switch to linux, but saving 15 minutes is not one of them.

tranminhchien

  • New Member
  • *
  • Posts: 20
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #16 on: December 31, 2013, 06:02:33 am »
Thank you :). I will try Linux. I have never used Linux before :)

There are reasons to switch to linux, but saving 15 minutes is not one of them.
I know the reason is my computer :(
Conditionally, dynamic package isn't the most important problem :)
I will try to write some component and share for alls  :-* (they won't be excellent !)

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #17 on: December 31, 2013, 06:28:46 am »
Dear Tranminhchien
We hope that you success on overcoming your 15 minutes problem and success on writing new components, but don't forget to tell us what is the solution did you use at last. We are curious about the solution.

jarto

  • Full Member
  • ***
  • Posts: 106
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #18 on: December 31, 2013, 08:31:17 am »
tanminchchien, if you can afford it, do buy more memory for your computer. Windows8 with 1 GB is definitely slow. Windows8 itself is actually pretty fast but you get to enjoy the speed only if there's enough memory.

Upgrade to 4 GB if you can. Doubling to 2 GB will probably already give you a nice speedup.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #19 on: December 31, 2013, 11:41:46 am »
RAM will increase speed if the problem is due to a lot of page swapping. If not, then the processor needs upgrade as well.

tranminhchien

  • New Member
  • *
  • Posts: 20
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #20 on: January 02, 2014, 07:53:31 am »
Everybody, i have installed Ubuntu 12.04, i think it's the best choice :), then I cusom install Lazarus (the lastest ver), all thing are ok, lazarus rebuild faster, the linking step is fast, but i can't compile a project, the executable file is compiled for Win 32, i don't know how to config Lazarus to build project for Ubuntu, please help me !

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #21 on: January 02, 2014, 07:59:10 am »
You can remove Win32 option in Project Options/Compile Options/Code generation, make it default. See attachment

tranminhchien

  • New Member
  • *
  • Posts: 20
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #22 on: January 02, 2014, 08:05:28 am »
You can remove Win32 option in Project Options/Compile Options/Code generation, make it default. See attachment
I have made it default, but not solved. The problem has appeared since the first time i opened lazarus

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #23 on: January 02, 2014, 08:14:59 am »
Could you please post the error message here

tranminhchien

  • New Member
  • *
  • Posts: 20
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #24 on: January 02, 2014, 08:18:34 am »
The message is :
Code: [Select]
The launching application ""/media/LUU2/Project/Lazarus/test/project1""
does not exist or is not executable.

See Run -> Run parameters -> Local
I try to execute project by hand and ubuntu result that the program is not avaiable to execute

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #25 on: January 02, 2014, 08:49:44 am »
try another new project and save it in your home directory

tranminhchien

  • New Member
  • *
  • Posts: 20
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #26 on: January 02, 2014, 08:53:12 am »
try another new project and save it in your home directory
Thank you so much :). Successfully !

CM630

  • Hero Member
  • *****
  • Posts: 1091
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #27 on: February 15, 2014, 08:48:31 pm »
I did a try on a pc with a 3Ghz (single core) and 1 GB RAM with WinXP and an antivirus.
First attempt:  4 minutes  (time from building start to restarting Lazarus; Opera browser on).  Average CPU load 20%.
Second attempt: 2 minutes (opera browser closed, but still showing in the task manager, eating 400+ MB ram). Average CPU load 20%.
Third attempt: 1 minute (after opera disappearing from task manager). CPU load not registered.
Fourth attempt: 30-40 second. I have no idea why it got faster. CPU loaded about 100%.
Definitely much less than 15 minutes. I have no idea if the compiler would use a second core, so maybe 1 core*3GHz is more than 2 cores*2,6 GHz. Unloaded CPU with the browser on makes me think, that the low memory is the problem.
I think you could try a WinXP.
For Win8 you should wait. General rule is that after a new version is released, you takes some 2 years at least, until it gets usable or it becomes clear if the time will come for it (the time for Win2000 and Vista never came, for example).
« Last Edit: February 15, 2014, 08:57:17 pm by paskal »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Will Lazarus support 'dynamic package' in the future ?
« Reply #28 on: February 17, 2014, 09:49:26 pm »
For me it also compiles pretty fast on a P4 (single core + HT). You should definitely not try running any Windows newer than XP with so little RAM (and it gets pretty tight with XP too nowadays).
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

 

TinyPortal © 2005-2018