Code::Blocks Forums
User forums => Help => Topic started by: pacopizz on July 08, 2007, 03:08:51 pm
-
Hello everybody,
I try to use CodeBlocks with Borland 5.2 compiler, because I need 80186 compatible code.
I have no problem to compile each file (.cpp) of my project, and I get all the objects files well (.obj)
When I try to link (using tlink.exe), the command macro I use is $link_objects that's put all the object files in the command line with .o extension and not .obj as I need.
Thank you for helping me to fix that.
Pascal.
Martinique - FWI.
-
Go to Project > Properties menu option. Then click on Build targets tab and select a Target. Now uncheck the following two check-boxes.
- Auto-generate filename prefix
- Auto-generate filename extension
It should fix the issue.
-
Hi,
When I open the Project > Properties menu option, I can see 2 tabs :
- Project,
- Targets.
The two check-boxes you are talking about are not visible in any of these tabs.
My project is a console application, I don't know if we have the same configuration windows than in other kind of project.
Pascal.
-
When I open the Project > Properties menu option, I can see 2 tabs :
I suspect you're using RC2. If yes please upgrade to a latest nightly build. Please visit the following forum to download a latest nightly. :)
http://forums.codeblocks.org/index.php/board,20.0.html
-
Thank you for your help.
I installed the latest nightly build, and now I have the correct command line when linking.
A new problem occured : there is a bug when invoking the linker (tlink.exe in my case) reported as "Problem with NTVDM.EXE", mainwhile the same command line using tlink in a DOS window works well...
Pascal.