Setting up BCC55 Compiler in UE32?

Setting up BCC55 Compiler in UE32?

2
NewbieNewbie
2

    Dec 16, 2004#1

    I've set up UE32 to use the Borland C++ 5.5 compiler. I've run it and the result is:

    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Syntax is: BCC32 [ options ] file * = default; -x- = turn switch x off
    -3 * 80386 Instructions -4 80486 Instructions
    -5 Pentium Instructions -6 Pentium Pro Instructions
    -Ax Disable extensions -B Compile via assembly
    -C Allow nested comments -Dxxx Define macro
    -Exxx Alternate Assembler name -Hxxx Use pre-compiled headers
    -Ixxx Include files directory -K Default char is unsigned
    -Lxxx Libraries directory -M Generate link map
    -N Check stack overflow -Ox Optimizations
    -P Force C++ compile -R Produce browser info
    -RT * Generate RTTI -S Produce assembly output
    -Txxx Set assembler option -Uxxx Undefine macro
    -Vx Virtual table control -X Suppress autodep. output
    -aN Align on N bytes -b * Treat enums as integers
    -c Compile only -d Merge duplicate strings
    -exxx Executable file name -fxx Floating point options
    -gN Stop after N warnings -iN Max. identifier length
    -jN Stop after N errors -k * Standard stack frame
    -lx Set linker option -nxxx Output file directory
    -oxxx Object file name -p Pascal calls
    -tWxxx Create Windows app -u * Underscores on externs
    -v Source level debugging -wxxx Warning control
    -xxxx Exception handling -y Produce line number info
    -zxxx Set segment names

    All that happens is that I briefly see the console window, and the above output is pasted at the bottom in a seperate window of UE32 ... no usability at all.

    My question now is ... where is my executable, which it claims to have made in the description at the borland website?

    Can anyone give me an exact human understandable description of the full workaround to get this working.

    What I want to end up with is the ability to write my code in UE32, and run the Borland compiler, and end up with an executable ... in the same directory at my code ...

    61
    Advanced UserAdvanced User
    61

      Dec 28, 2004#2

      OK, you got the usage output from the compiler, so at least your custom tool can find it. But it isn't finding your file, so you need to add the appropriate wildcards to your command line in the tool configuration dialog.

      I am using the Borland Compiler with UltraEdit with some degree of success, so I know it is possibe. Can you post the command line you entered in Tool Configuration here?

      2
      NewbieNewbie
      2

        Dec 28, 2004#3

        Thanks, but I've figured it out meanwhile.

        Forgot the %F at the end of the line ...

        33
        Basic UserBasic User
        33

          Mar 05, 2005#4

          My current settings that i got to work with a test file after so many trials!!
          Command Line : bcc32.exe %n%e
          Working Directory : %p
          Menu Item Name : Borland Compile
          Options: Save Activefile, output to listbox, capture output

          Command Line : %N
          Working Directory : %P
          Menu Item Name : Run Console Application...
          Options: Save Activefile, output to listbox, capture output
          any better suggestsion? is it also possible to automatically add this to your tools in other installations ? (which config file to edit?)

          also you have to configure BCC like so (from BCCs website)
          Or, if Windows 2000/XP:
          Add a path reference to the Environment variables:
          3. Using the mouse, right-click on the "My Computer" icon (on your desktop) and choose "Properties".
          4. Click on the "Advanced" tab.
          5. Click on the "Environment Variables..." button.
          6. Highlight the "Path" System variable (bottom).
          7. Click on the "Edit..." button.
          8. Append the line with ";C:\BORLAND\BCC55\BIN;"
          9. Click OK (in the "Edit System Variables")
          10. Click OK (in the "Environment Variables" window) and click OK (in the "System Properties" window) Navigating to the directory, "c:\Borland\bcc55\bin"
          11. cd borland [Enter]
          12. cd bcc55 [Enter]
          13. cd bin [Enter]

          ______________________________

          Creating the configuration files:

          Note: The command line should read: C:\BORLAND\BCC55\BIN

          Part 1: Creating BCC32.CFG.
          1. Type "edit bcc32.cfg" [Enter] (This creates the file and opens a blank window in the editor).
          2. Add these lines:

          -I"c:\Borland\Bcc55\include"
          -L"c:\Borland\Bcc55\lib"

          3. Save the changes (Alt-F then hit S).
          4. Exit edit. (Alt+F then press X).

          Part 2: Creating ILINK32.CFG
          5. Type "edit ilink32.cfg" (This creates the file and opens a blank window in the editor).
          6. Add these lines:

          -L"c:\Borland\Bcc55\lib"

          7. Save the changes (Alt-F then hit S).
          8. Exit edit. (Alt+F then press X).
          9. Type "exit" [Enter]
          anyway someone can make a script for all of this?? It would really help out newbies like me in the future.