Einzelnen Beitrag anzeigen

Benutzerbild von MaBuSE
MaBuSE

Registriert seit: 23. Sep 2002
Ort: Frankfurt am Main (in der Nähe)
1.837 Beiträge
 
Delphi 10 Seattle Enterprise
 
#12

Re: Eigene Compiler-Oberfläche

  Alt 17. Aug 2004, 10:51
Zitat von maximov:
Zitat von Phoenix:
...Sorry, aber das ist schwachfug.
Auch die IDE steuert nur den Kommandozeilencompiler an...
Sorry, aber das ist ...

Meines wissens benutzt die IDE nicht die DCC32.exe, sondern die DCC70.DLL! Was für die handhabung innerhalb der IDE natürlich viel günstiger ist, da der compiliervorgang im selben prozess stattfindet. ...

Also nicht immer gleich losbrüllen.
Maximov hat Recht !!!

Die IDE benutzt nicht den DCC32.EXE.
(Einfach mal die DCC32.EXE umbennenen. Die IDE kann trotzdem kompilieren )

Zitat von maximov:
Gibt hier glaub ich auch berichte über unterschiedliches verhalten der beiden teile.
Maximov hat schon wieder Recht !!!
In der DCC32.EXE ist leider ein dummer Bug drinn, der in der IDE nicht passiert.
Die Schalter /N und /LN funktionieren nicht auf Laufwerk B:
Das gilt auch für die Einstellungen in der dcc32.cfg oder Projekt1.cfg
Der Fehler war sofar schon in Delphi 5 drin. Ich habe das neulich Borland gemeldet:
Zitat:
Hello,
i want to report a bug in dcc32.exe.

If you want to compile a project on drive b:, the Params /N and /LN are not
working.

Param /E and /LE are working fine.

Example:
1. Make directorys in c:\temp
-c:\temp\test
-c:\temp\test\gui
-c:\temp\test\dcc
2. Install drive b: (subst b: c:\temp)
3. Create new project (and place a TButton and/or TEdit on it)
4. Go to menu-project-options -> Directories/Conditionals
4. Edit Output directory to "b:\test\gui"
5. Edit Unit output directory to "b:\test\gui"
6. Press ok
7. Save project to b:\test\
8. Compile
9. In b:\test\gui you find *.dcu and *.exe
10. Ok, this works fine

11. Go to shell ([start] run -> cmd.exe)
12. Go to b:\test (cd /d b:\test)
13. Compile project with dcc32.exe
dcc32 -Eb:\test\dcc -Nb:\test\dcc -Uc:\programme\borland\bds\3.0\lib
project1.dpr
(for "c:\programme\borland\bds\3.0\lib" you type the location of your
Delphi9 install + \lib / for "project1.dpr" you type your project filename)
14. In b:\test\dcc is only the *.exe file.
The *.dcu files are in b:\test
15. -> /N and /LN are not working on b:

On every drive c:, d: , e: , ..., z: it works fine.

-N and -LN in project1.cfg is also not working.
-N and -LN in $(BDS)\bin\dcc32.cfg is also not working.

I tested this today in Delphi 7 -> the bug is in there too!!!

Sorry for my bad English, I'm German.

Kind regards
Borland wird den Fehler aber beheben:
Zitat:
I see those same results here and I see it when a driver letter different
from B: is specified for the virtual drive.
I have logged the issue as #204475.
Thanks the report.
(°¿°) MaBuSE - proud to be a DP member
(°¿°) MaBuSE - proud to be a "Rüsselmops" ;-)
  Mit Zitat antworten Zitat