🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

gcc options

#22
From: Olivier Pons
Date: Wed, 11 Oct 2006 11:36
67 lines
4521 bytes
Jesper, I followed you recommandations, so here's what I've done :
- I cheched Tools | Options | Environment Options | [x] Shw Command line
- I saved the output on my desktop, cut & paste it into a file named 
Optimise.txt
- I made a batch consisting of one line : "C:\Program 
Files\Borland\BDS\4.0\Bin\make" -B -fOptimise.txt
- It didn't work until I added a switch ("-") to every single option 
beginning with $ (eg $A8 => -$A8)
- The problem was "unknow option -C0 so I removed this option
- Now there's a problem I can't solve : everything is in a folder with a 
long name, and a space in it : "C:\Olivier\Sources\Sources olivier\Acarat". 
So when I call make the error is :
Fatal: F1026 File not found : 'olivier\Acarat\.dpr'

Any idea of how to solve it (except renaming my dir into a stone-age short 8 
chars name) ?

Thanks a lot.

BTW here's my makefile :

Acarat.exe: Acarat.dpr
  dcc32 \
  -$A8 -$B- -$C+ -$D+ -$E- -$F- -$G+ -$H+ -$I+ -$J+ -$K- -$L+ -$M- -$N+ -$O- 
 -$P+ -$Q+ -$R+ -$S- -$T- -$U+ -$V+ -$W+ -$X+ -$Y+ -$Z1 -H+ -W -V -VN \
  -$M16384,16777216 -$K4194304 -CG -EC:\Olivier\Sources\Sources 
olivier\Acarat\ \
  -Uc:\program files\borland\bds\4.0\Ocx\Servers;c:\program 
files\borland\bds\4.0\Source\ToolsApi;c:\program 
files\borland\bds\4.0\Lib;C:\Olivier\Sources\Commun\Composants;C:\Olivier\Sources\Composants\Systools\source;c:\program 
files\borland\bds\4.0\lib;c:\program 
files\borland\bds\4.0\Imports;c:\program 
files\borland\bds\4.0\Lib\Indy10;C:\Program 
Files\Borland\BDS\4.0\RaveReports\Lib;c:\documents and settings\olivier\mes 
documents\projets borland 
studio\bpl;C:\Olivier\Sources\Composants\graphics32-1-8-1;C:\Olivier\Sources\Composants\RxLib\DCUs;c:\olivier\sources\composants\rxlib\units;C:\Olivier\Sources\Composants\Systools\packages 
\
  -Oc:\program files\borland\bds\4.0\Ocx\Servers;c:\program 
files\borland\bds\4.0\Source\ToolsApi;c:\program 
files\borland\bds\4.0\Lib;C:\Olivier\Sources\Commun\Composants;C:\Olivier\Sources\Composants\Systools\source;c:\program 
files\borland\bds\4.0\lib;c:\program 
files\borland\bds\4.0\Imports;c:\program 
files\borland\bds\4.0\Lib\Indy10;C:\Program 
Files\Borland\BDS\4.0\RaveReports\Lib;c:\documents and settings\olivier\mes 
documents\projets borland 
studio\bpl;C:\Olivier\Sources\Composants\graphics32-1-8-1;C:\Olivier\Sources\Composants\RxLib\DCUs;c:\olivier\sources\composants\rxlib\units;C:\Olivier\Sources\Composants\Systools\packages 
\
  -Rc:\program files\borland\bds\4.0\Ocx\Servers;c:\program 
files\borland\bds\4.0\Source\ToolsApi;c:\program 
files\borland\bds\4.0\Lib;C:\Olivier\Sources\Commun\Composants;C:\Olivier\Sources\Composants\Systools\source;c:\program 
files\borland\bds\4.0\lib;c:\program 
files\borland\bds\4.0\Imports;c:\program 
files\borland\bds\4.0\Lib\Indy10;C:\Program 
Files\Borland\BDS\4.0\RaveReports\Lib;c:\documents and settings\olivier\mes 
documents\projets borland 
studio\bpl;C:\Olivier\Sources\Composants\graphics32-1-8-1;C:\Olivier\Sources\Composants\RxLib\DCUs;c:\olivier\sources\composants\rxlib\units;C:\Olivier\Sources\Composants\Systools\packages 
\
  PkgDllDir=C:\Documents and Settings\Olivier\Mes documents\Projets Borland 
Studio\Bpl \
  PkgDcpDir=C:\Documents and Settings\Olivier\Mes documents\Projets Borland 
Studio\Bpl \
  -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; 
\
  BPIOutputDir=C:\Documents and Settings\Olivier\Mes documents\Projets 
Borland Studio\Bpl \
  -W-UNSAFE_TYPE -W-UNSAFE_CODE -W-UNSAFE_CAST \
  Acarat.dpr 
Technical Details
Message-ID: <452cd72e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!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,905a586f5820f947,start
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Olivier Pons" <olivierdotponsatfree@dotfr>
From: "Olivier Pons" <olivierdotponsatfree@dotfr>
Newsgroups: borland.public.delphi.commandlinetools
Subject: gcc options
Date: Wed, 11 Oct 2006 13:36:13 +0200
Lines: 69
Organization: SAS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.122.69.142
Message-ID: <452cd72e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160566574 82.122.69.142 (11 Oct 2006 04:36:14 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail