Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2014-07

FPC 2.7.1 snapshot for Win32

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

How to test the compiled FPC snapshot binaries on Windows? I found a link from this page:
http://www.freepascal.org/develop.var
under header
"Download Daily Update of Development Tree (trunk)" I think it should be
"Download Daily Compiled Binaries of Development Tree (trunk)" but it is no big deal. (I would fix it in the wiki but I cannot).

I downloaded a binary package for Win32, unpacked it, adjusted Windows PATH for the new directory and copied fpc.cfg from older 2.6.4 version.
I did not see anything version dependent in the fpc.cfg so I did not change it. I have the latest FPC sources from Graeme's git mirror.

fpc starts and a simple WriteLn('hello'); compiles, but non-trivial code gives errors because of library units not found. XML example does not find DOM, Lazarus does not find ServiceManager etc.

I have installed FPC trunk on Linux but I have no recollection of this one. Should I add path to sources somewhere?
Where can I find short and clear instructions of how to use the binary snapshots?
For some reason the "/develop.var" page does not have any.

Juha

Reply by email

Sven Barth
to Juha Manninen
"Juha Manninen" wrote
I downloaded a binary package for Win32, unpacked it, adjusted Windows PATH for the new directory and copied fpc.cfg from older 2.6.4 version. I did not see anything version dependent in the fpc.cfg so I did not

change it.

Did you check that the paths inside the fpc.cfg are really the correct ones?

Regards,
Sven

Reply by email

Juha Manninen
to Sven Barth

On Tue, Jul 29, 2014 at 6:07 PM, Sven Barth

Did you check that the paths inside the fpc.cfg are really the correct ones?

Right. After all I missed the important parts of fpc.cfg. I had copied it from FPC under Lazarus installation dir. There the paths are C:\lazarus\fpc\$FPCVERSION.
I don't know where $FPCVERSION is defined but I hardcoded the path as C:\FPC\2.7.1 and it works.
Thanks.

I also had to copy GNU utils. I found instructions in forum: http://forum.lazarus.freepascal.org/index.php?topic=22248.0 I don't know are there instructions for that elsewhere.

Regards,
Juha

Reply by email

Sven Barth
to Juha Manninen
Juha Manninen wrote 9 lines
On Tue, Jul 29, 2014 at 6:07 PM, Sven Barth > Did you check that the paths inside the fpc.cfg are really the correct ones? Right. After all I missed the important parts of fpc.cfg. I had copied it from FPC under Lazarus installation dir. There the paths are C:\lazarus\fpc\$FPCVERSION. I don't know where $FPCVERSION is defined but I hardcoded the path as C:\FPC\2.7.1 and it works. Thanks.

$FPCVERSION is internally handled by FPC (like a few others) and since AFAIK 2.7.1 also special directories on Windows and maybe also environment variables. I'd need to recheck those though.

Regards,
Sven

Reply by email