[Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

Marcos Douglas md at delfire.net
Sun Jan 23 22:25:35 CET 2011


On Sun, Jan 23, 2011 at 7:13 PM, Bo Berglund <bo.berglund at gmail.com> wrote:
> On Sun, 23 Jan 2011 21:22:06 +0100, Vincent Snijders
> <vincent.snijders at gmail.com> wrote:
>
>>2011/1/23 Bo Berglund <bo.berglund at gmail.com>:
>> Now I have rebuilt Lazarus with the changed sqldb.pp file in place in
>>> the FPC sources. I used the Lazarus function to build itself.
>>> But the code still rejects the EXEC verb with the same error message
>>> as before.
>>> I have probably not succeeded to make lazarus use the modified
>>> sqldb.pp source file....
>>
>>That is correct, you have to build the fpc units separately first.
>>When compiling in Lazarus, Lazarus doesn't use the fpc source
>>directly, but only the compiled sqldb.ppu and sqldb.o
>>
>
> Any ideas how this "build the fpc units separately first" is
> accomplished?
> I have installed FPC 2.4.2 from the binary distribution (on Windows)
> and then to make Lazarus happy I also separately downloaded the FPC
> 2.4.2 sources. It complained that it could not find them when I first
> started lazarus after building from sources.
>
> I know how to build Lazarus, but not how to build FPC...

See this tutorial to build FPC and Lazarus on Windows:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

Marcos Douglas




More information about the Lazarus mailing list