Sign in Join

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

Mailing lists / fpc-pascal / 2006-03

Compiling a unit loops infinitely

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Preslar

I'm trying to compile and cleanup some old Turbo Pascal code.. This one unit of mine, toolbox.pas.. Whenever I go to compile, ppc386.exe loops by printing "Compiling TOOLBOX.pas" over and over again.

toolbox.pas doesn't self-reference, and the units toolbox.pas don't use toolbox.pas [I'm not a newbie :) ] Any ideas?

Command line:

F:\turbo_p\lord>ppc386 -k'-dy -L c:\windows\system32\' -k'-l wsock32' -dWIN32 -B @units.lst toolbox.pas

units.lst contains:

-Fu\manndoor\units
-Fu\manndoor\units\win32
-Fu\manndoor\units\elecom
-Fi.
-FEout.w32
-FUlib.w32
-XX
-Xs
-Xt
-WC
-OG
-Sd
-Twin32

ppc386 version:

Free Pascal Compiler version 2.0.2 [2005/11/26] for i386

Compiling on win32 for target win32

Any help would be appreciated..

Michael