home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,335 of 2,978   
   robert to Robert Riebisch   
   Re: Commandline switch "Map-File" for TP   
   21 Dec 06 12:43:45   
   
   From: no-spam@no-spam-no-spam.invalid   
      
   Robert Riebisch wrote:   
   > robert schrieb:   
   >   
   >> Does anybody know where I can find the list of Turbo Pascal 6.0 TPC.EXE   
   Command line switches - especially for creating a .MAP file ?   
   >> Didn't find any suitable doc in the folder or on the net.   
   >   
   > Funny guy! Just execute "tpc.exe" to see the list.   
   >   
      
      
   Thanks.   
   Something like tpc /h /? .. didn't work, the tp6 IDE doc has nothing on it and   
   that default output was blocked here with an unadapted tpc.cfg (I do the /U   
   explicitely) :   
      
   C:\test>\tp60\tpc.exe   
   Turbo Pascal  Version 6.0  Copyright (c) 1983,90 Borland International   
   Error 14: Invalid filename (COMPILER\PASCAL\DEMOS;C:\COMPILER\PA   
   CAL\DOCDEMOS.PA   
   S).   
      
   And tp7's (IDE doc'ed) "/G" didn't work so I'd almost given up ...   
   The trick is to adapt tpc.cfg - unless one does that, one doesn't get:   
      
   C:\test>\tp60\tpc.exe   
   Turbo Pascal  Version 6.0  Copyright (c) 1983,90 Borland International   
   Syntax: TPC [options] filename [options]   
   /B      Build all units         /$A-    No word alignment   
   /Dxxx   Define conditionals     /$B+    Complete boolean evaluation   
   /Exxx   EXE & TPU directory     /$D-    No debug information   
   /Fxxx   Find run-time error     /$E-    No 8087 emulation   
   /GS     Map file with segments  /$F+    Force FAR calls   
   /GP     Map file with publics   /$G+    Generate 286 instructions   
   /GD     Detailed map file       /$I-    No I/O checking   
   /Ixxx   Include directories     /$L-    No local debug symbols   
   /L      Link buffer on disk     /$Mxxx  Memory allocation parameters   
   /M      Make modified units     /$N+    8087 code generation   
   /Oxxx   Object directories      /$O+    Overlays allowed   
   /Q      Quiet compile           /$R+    Range checking   
   /Txxx   Turbo directories       /$S-    No stack checking   
   /Uxxx   Unit directories        /$V-    No var-string checking   
   /V      EXE debug information   /$X+    Extended syntax   
      
      
      
   Robert   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca