[fpc-pascal] Compiling a unit loops infinitely

Michael Preslar mike at lordlegacy.com
Wed Mar 22 04:34:08 CET 2006


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



More information about the fpc-pascal mailing list