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

Bo Berglund bo.berglund at gmail.com
Sun Jan 23 22:13:59 CET 2011


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...


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list