Article View: borland.public.delphi.commandlinetools
Article #120Re: DCC32 + Defines
From: Jesper Hogstrom (Borland)
Date: Tue, 07 Mar 2006 22:46
Date: Tue, 07 Mar 2006 22:46
24 lines
2228 bytes
2228 bytes
Mitch wrote: >> How does your various config files look? What if you compile with >> --no-config, are the defines still set? > I don't think it would compile at all without the config. The config is > fairly large with all the paths to units and libraries that I needed. I > need to go back and remove some extra path stuff that really isn't > needed. I used the IDE generated CFG as the starting point and added > path stuff until it would compile. I could post it if you really want to > take a look. I should have mentioned that I'm using D7 Pro. Ah, no --no-config then. Well, there is another cfg-gile sitting next to the compiler, called dcc32.cfg iirc. Maybe some define snuck in there? I know I have been bitten by that once or twice (until they finally handed me the --no-config :) ). Are you compiling using a make script or something equivalent? You may want to consider passing everthing on the command line. That would also make it simpler to create a debug build and a release build, as you simple redfine the macros with the compiler switches. --Jesper
Technical Details
Message-ID:
<440e0d2c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<440dc747$1@newsgroups.borland.com> <440e079d$1@newsgroups.borland.com> <440e0b97$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,cef2d0d351fc6255 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 07 Mar 2006 23:46:06 +0100 From: "Jesper Hogstrom (Borland)" <jhogstrom_@_borland_._com_spaminator> Organization: Borland User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: borland.public.delphi.commandlinetools Subject: Re: DCC32 + Defines References: <440dc747$1@newsgroups.borland.com> <440e079d$1@newsgroups.borland.com> <440e0b97$1@newsgroups.borland.com> In-Reply-To: <440e0b97$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.227.209.53 Message-ID: <440e0d2c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141771564 81.227.209.53 (7 Mar 2006 14:46:04 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail