PDA

View Full Version : Big release for Lazarus users!



MikeS
02-12-2004, 01:11 AM
New lazarus for windows release
Posted by Vincent on Saturday, November 27, 2004 - 01:49 PM (86 Reads) comments?
Vincent writes "A new lazarus win32 binary release is available.

You can download it from Source Forge: Click here

Changes since the previous release:
* Installation of components and rebuilding lazarus has been improved.
* Lazarus doesn't need a console window anymore.
* Applications built with lazarus can run without console window.

This release also contains a debugger, so you can debug your applications from within the IDE. This feature is still under development.

No longer need a console window open! This makes me dance and sing!
Keep an eye out on the main site for more releases.

http://www.lazarus.freepascal.org/index.php
:)

cairnswm
02-12-2004, 05:23 AM
I will be downloading now!

Does it use a newer version of FreePascal (it is the version of FreePascal that seems to make the big EXEs - When I command line compile my Apps using straight FreePascal I get smaller apps)

Lightning
02-12-2004, 09:26 AM
The big app issue was due to a small bug in the IDE.
If you strill get big apps after stripping, do the folowing:


open a console
make sure your path system variable includes FPC bin dir in Control Panel->System->[Advanced] [System Variables]
or type in the console "SET PATH=C:\lazarus\pp\bin\win32\;%PATH%"

then


strip --strip-all yourapp
upx --best yourapp

This will make your apps much smaller.

WILL
02-12-2004, 10:43 AM
The big app issue was due to a small bug in the IDE.
If you strill get big apps after stripping, do the folowing:


open a console
make sure your path system variable includes FPC bin dir in Control Panel->System->[Advanced] [System Variables]
or type in the console "SET PATH=C:\lazarus\pp\bin\win32\;%PATH%"

then


strip --strip-all yourapp
upx --best yourapp

This will make your apps much smaller.

Could this not be made into a toggle checkbox in the Linker/Compiler options for Lazarus? Or is that basically what it's trying to do in the first place?

The need for a seperate console window was one of the major things that pushed me away from it. I'll have to have a look at the newer version. However anothing thing that bothered me was the fact that I could only install it to a location that had no spaces in the path. wth? :? I guess I could deal with that, but I seriously doubt that there can be a big enough reason that I can't put it in my 'Program Files' folder like all my other apps.

How effective are design suggestions at Lazarus' project site?

Lightning
02-12-2004, 10:49 AM
It seems the setting was ignored, anyway this is the best way to do it, if you want i can make a batch file for you to automate this process as a single simple console command.