[Lazarus] Build scripts for Freepascal and Lazarus compilation from source

Frank Church vfclists at gmail.com
Sun Oct 3 15:30:11 CEST 2010


On 3 October 2010 13:23, Joshua Lim <joshua__lim at hotmail.com> wrote:

> Hi Frank, do you have something for Win32?  Thanks.
>
>
I don't have anything for Win32 yet, but it should be easy to convert. You
only have to look out for the Windows gotchas. I will have tackle in the
near future, but I wouldn't want to keep you wating.

Check Marco van de Voort's
buildfaq<http://www.stack.nl/%7Emarcov/buildfaq.pdf>,
Chapter 2.4.
The wiki also has tips on compiling at
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

It is the type of article I don't like because you can learn a lot more from
a  good well commented script with sensibly named variables (insert smug
emoticon here) ;).

There is some good information here too - Lazarus Support
FAQ<http://www.lazarussupport.com/lazarus/Lazarus?section2=FAQ#How_do_I_compile_lazarus.3F>

I think it can be translated straight as is to Windows, with some minor
adjustment of path names. The important thing is to specify the actual
location of the fpc compiler, rather than use the system installed on
especially if you are going beyond the basic fpc 2.2.4/ lazarus 0.9.28
combo. Once you get an fpc 2.4.0 working, you can go on to an fpc 2.5.1 and
things will be match easier then.

Another important point is to make sure you have the fpc.cfg right for the
compiler, which is why I always regenerate it for a compiler just before
'making' with it.

Frank Church wrote:
>
>>
>> I have posted an article and some code on some bash scripts I have
>> developed to install FPC and Lazarus from source at
>> http://devblog.brahmancreations.com/content/build-scripts-for-installing-freepascal-and-lazarus-from-source
>> .
>>
>> Any comments and tips are well come.
>>
>> --
>> Frank Church
>>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101003/4a177554/attachment-0004.html>


More information about the Lazarus mailing list