Computer Science Canada

Unable to execute command 'ilink32.exe'

Author:  AzureFire [ Sun Feb 26, 2006 10:08 pm ]
Post subject:  Unable to execute command 'ilink32.exe'

Hey, I'm just starting C/C++ Programming at school, and I decided to use a different compiler because I've been told Bloodshed.Net's DevC++ is really buggy.

So I got Borland's "FreeCommandLineTools.exe" and Crimson Editor.

So here's my problem, I set up the config files and I still get this error;

code:
---------- Capture Output ----------
> "C:\Borland\BCC55\Bin\bcc32.exe" sample1.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
sample1.cpp:
Error E2133: Unable to execute command 'ilink32.exe'

> Terminated with exit code 1.


Any help would be greatly appreciated.

Also, here's whats in each of the config files;

BCC32.CFG
code:
-I"C:\Borland\BCC55\Include"
-L"C:\Borland\BCC55\Lib"


ILINK32.CFG
code:
-L"C:\Borland\BCC55\Lib"
-L"C:\Borland\BCC55\Lib\psdk"


Thanks again!

Author:  wtd [ Sun Feb 26, 2006 11:23 pm ]
Post subject: 

Dev-C++ is not a compiler. It's a program which uses the GNU Compiler Collection. The problem is not with the compiler, it's with the GUI.

Borland's stuff is old, and GCC is better.

Author:  AzureFire [ Mon Feb 27, 2006 4:35 pm ]
Post subject: 

Ok I got, and installed MinGW's GCC. And I'm wondering, could I set up a script to compile the source like it says to do for Borland? I tried by myself to set it up but got an error.

Thanks.

[EDIT]

Ok, I set it up, I missed the file directory line in the script setup. But I still get an error.
code:
---------- Capture Output ----------
> "C:\MinGW\bin\g++.exe" sample1.cpp
> Terminated with exit code 0.


I'm using this Hello World program to test.

code:
#include <iostream>

int main()
{
   std::cout << "Hello, world!" << std::endl;

   return 0;
}


Sorry for all the questions, I'm just used to my nubber IDE.

Author:  wtd [ Mon Feb 27, 2006 5:26 pm ]
Post subject: 

You don't need any kind of script. Just make sure your PATH is set up correctly.

Author:  AzureFire [ Mon Feb 27, 2006 5:55 pm ]
Post subject: 

I know I don't have to, I just wanted to set it up so It does it automatically. Just to make it less of a pain...

[EDIT]

I figured out it was working, I just wasn't capturing the output.

And for people who like Crimson Editor, this site has a bunch of cool codes.

Using Crimson With MinGW

Thanks for the help wtd.[/url]


: