🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #219

dcc32 -- How does one compile his/her project with it?

#219
From: Alan Garny
Date: Thu, 24 Mar 2005 17:23
85 lines
3950 bytes
Hi,

It has been so long since I have used command line compiler that I am really 
puzzled as how one can actually use dcc32...

The reason I want to use dcc32 directly as opposed to the IDE is that I want 
to write a script that can generate a release version of my project whenever 
I need to, while using the IDE for my debug version.

In that respect, I have a MyProject.cfg file that, from what I understand, 
is the one that ought to contain the compiler's settings for my project.

I was therefore under the impression that a simple:

dcc32 MyProject.dpr

would do the job, but I was wrong... If I do that, then the compiler tells 
me straight away that it cannot compile 'System.pas'. To get over this, I 
need  to remove all the Delphi-related paths for the U option. But then, I 
get new problems, while everything works fine from the IDE. Puzzling for 
me...

Just in case, I have put below the config file that I use for my debug 
version...

    Thanks for any help you can give me! Alan.

-------------------
-$A8
-$B-
-$C+
-$D+
-$E-
-$F-
-$G+
-$H+
-$I+
-$J-
-$K-
-$L+
-$M-
-$N+
-$O-
-$P+
-$Q+
-$R+
-$S-
-$T-
-$U-
-$V+
-$W+
-$X+
-$YD
-$Z1
-GD
-cg
-vn
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
-H+
-W+
-M
-$M16384,1048576
-K$00400000
-N"Temp"
-LE"Temp"
-LN"Temp"
-U"c:\program files\borland\delphi7\Lib\Debug;c:\program 
files\borland\delphi7\Source\ToolsAPI;Res;Src;Src\DeCAL;Src\HTML 
Help;Src\OpenGL;Src\SynEdit\Source;Src\SynEdit\SynGen;Src\JCL\Examples\VCL\DebugExtension;Src\JCL\Examples\VCL\DebugExtension\Dialog;Src\JCL\Source;Src\JCL\Source\Common;Src\JCL\Source\Windows;Src\JVCL\Common;Src\JVCL\Run;Src\MemCheck;Src\VCL;Src\ZLibEx"
-O"c:\program files\borland\delphi7\Lib\Debug;c:\program 
files\borland\delphi7\Source\ToolsAPI;Res;Src;Src\DeCAL;Src\HTML 
Help;Src\OpenGL;Src\SynEdit\Source;Src\SynEdit\SynGen;Src\JCL\Examples\VCL\DebugExtension;Src\JCL\Examples\VCL\DebugExtension\Dialog;Src\JCL\Source;Src\JCL\Source\Common;Src\JCL\Source\Windows;Src\JVCL\Common;Src\JVCL\Run;Src\MemCheck;Src\VCL;Src\ZLibEx"
-I"c:\program files\borland\delphi7\Lib\Debug;c:\program 
files\borland\delphi7\Source\ToolsAPI;Res;Src;Src\DeCAL;Src\HTML 
Help;Src\OpenGL;Src\SynEdit\Source;Src\SynEdit\SynGen;Src\JCL\Examples\VCL\DebugExtension;Src\JCL\Examples\VCL\DebugExtension\Dialog;Src\JCL\Source;Src\JCL\Source\Common;Src\JCL\Source\Windows;Src\JVCL\Common;Src\JVCL\Run;Src\MemCheck;Src\VCL;Src\ZLibEx"
-R"c:\program files\borland\delphi7\Lib\Debug;c:\program 
files\borland\delphi7\Source\ToolsAPI;Res;Src;Src\DeCAL;Src\HTML 
Help;Src\OpenGL;Src\SynEdit\Source;Src\SynEdit\SynGen;Src\JCL\Examples\VCL\DebugExtension;Src\JCL\Examples\VCL\DebugExtension\Dialog;Src\JCL\Source;Src\JCL\Source\Common;Src\JCL\Source\Windows;Src\JVCL\Common;Src\JVCL\Run;Src\MemCheck;Src\VCL;Src\ZLibEx"
-DCOR_DEBUG;COR_MAIN
-w-SYMBOL_DEPRECATED
-w-SYMBOL_PLATFORM
-w-UNIT_PLATFORM
-w-UNSAFE_TYPE
-w-UNSAFE_CODE
-w-UNSAFE_CAST 
Technical Details
Message-ID: <42427903@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,b0870576f8f2b2c5,start
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Alan Garny" <someone@somewhere.cm>
Newsgroups: borland.public.delphi.commandlinetools
Subject: dcc32 -- How does one compile his/her project with it?
Date: Thu, 24 Mar 2005 17:23:33 -0000
Lines: 87
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 130.54.253.125
Message-ID: <42427903@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111652611 130.54.253.125 (24 Mar 2005 00:23:31 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail