How to make the C++Builder 6 IDE show the compiler and linker command line while building

Resumo: How to make the C++Builder 6 IDE show the compiler and linker command line while building

How to make the C++Builder 6 IDE show the compiler and linker command line while building

  • Product Name:��C++Builder�
  • Product Version:��6
  • Product Component:��IDE�
  • Platform/OS Version:� All

    Description:

    I am building from within the C++Builder 6 IDE but would like to see what command line switches and�options are being passed to the compiler and linker.� Is there a way to make the IDE display this information?

    Answer/Solution:

    Yes.� There is a Registry key that can be toggled to accomplish this.

  • First, go to Start | Run... and issue the "regedit" command to bring up the Registry Editor.� Then, navigate to the following:

    ���� HKEY_CURRENT_USER | Software | Borland | C++Builder | 6.0 | Compiling

    There, you will find a string value named ShowCommandLine that is set to False by default.� Modify it and set it to True.

    Then, restart the IDE and upon subsequent builds, the desired command line information will be displayed in the lower message pane in the following format:

    --------------------

    Build
    � [C++ Hint] C:\Program Files\Borland\CBuilder6\Projects\Project1.cpp -Od -H=c:\PROGRA~1\borland\CBUILD~1\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -c -tW -tWM -Hr"vcl.h"="vcl.h" -Hr"clx.h"="clx.h" -o"C:\Program Files\Borland\CBuilder6\Projects\Project1.obj" -w-par -I"c:\program files\borland\cbuilder6\include";"c:\program files\borland\cbuilder6\include\vcl" -D_RTLDLL;NO_STRICT;USEPACKAGES;_DEBUG
    � [C++ Hint] C:\Program Files\Borland\CBuilder6\Projects\Unit1.cpp -Od -H=c:\PROGRA~1\borland\CBUILD~1\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -c -tW -tWM -Hr"vcl.h"="vcl.h" -Hr"clx.h"="clx.h" -o"C:\Program Files\Borland\CBuilder6\Projects\Unit1.obj" -w-par -I"c:\program files\borland\cbuilder6\include";"c:\program files\borland\cbuilder6\include\vcl" -D_RTLDLL;NO_STRICT;USEPACKAGES;_DEBUG
    � [Linker Hint] C:\Program Files\Borland\CBuilder6\Projects\Project1.exe -D"" -aa -Tpe -x -Gn -v -L"c:\program files\borland\cbuilder6\Projects\Lib";"c:\program files\borland\cbuilder6\lib\obj";"c:\program files\borland\cbuilder6\lib";"c:\program files\borland\cbuilder6\lib\release"
    ��� c0w32.obj vcl.bpi rtl.bpi vclx.bpi bcbsmp.bpi indy.bpi dbrtl.bpi adortl.bpi vcldb.bpi bdertl.bpi vcldbx.bpi ibxpress.bpi dsnap.bpi cds.bpi bdecds.bpi qrpt.bpi teeui.bpi teedb.bpi tee.bpi dss.bpi teeqr.bpi visualclx.bpi dsnapcrba.bpi dsnapcon.bpi vclie.bpi xmlrtl.bpi inet.bpi inetdbbde.bpi inetdbxpress.bpi inetdb.bpi nmfast.bpi webdsnap.bpi bcbie.bpi websnap.bpi soaprtl.bpi dclocx.bpi dbexpress.bpi dbxcds.bpi BCB6Pkg.bpi visualdbclx.bpi bcb2kaxserver.bpi Memmgr.Lib sysinit.obj Project1.obj Unit1.obj
    ��� Project1.res
    ��� import32.lib cp32mti.lib

    --------------------

    Author: Yu-Chen Hsueh