Sign in Join

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

Mailing lists / fpc-pascal / 2007-10

Compiling FPC 2.3 with FPC 2.2 (Mac OS i386)

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Tobias Giesen

Hello,

I have installed FPC 2.2 from the Lazarus snapshots. Now I am trying to compile the latest FPC sources from SVN. A few weeks ago, this worked but now I get:

"variants.pp(518,14) Fatal: Unknown compilerproc "fpc_copy_proc". Check
if you use the correct run time library.

How can I check this? According to my fpc.cfg file which came with Lazarus, the compiler should automatically go into the correct folders for its library:

-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl

The reason I want to recompile is the improvements to tppumodule.search_unit. In Lazarus, I often have to rebuild the whole project because files are not found when I only hit F9. Have the improvements to tppumodule.search_unit been ported back to version 2.2 yet?

Where can I get the 2.2 sources?

Thanks.

Kind Regards,
Tobias Giesen
www.superflexible.com

Reply by email

Tobias Giesen
to Tobias Giesen

Hello,

I cleaned up some folders, deleting files from previous compilations and updating to the latest SVN and now it's working.

FPC 2.3.1 finds my files much better than 2.2.

Maybe the improvements in fppu.pas (tppumodule.search_unit) could be ported back to version 2.2 so that other developers will enjoy them too.

Cheers,
Tobias
http://www.superflexible.com

Reply by email