User forums > Help
Failed to link
(1/1)
pacopizz:
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.
Biplab:
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 extensionIt should fix the issue.
pacopizz:
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.
Biplab:
--- Quote from: pacopizz on July 09, 2007, 01:34:14 pm ---When I open the Project > Properties menu option, I can see 2 tabs :
--- End quote ---
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. :)
--- Quote ---http://forums.codeblocks.org/index.php/board,20.0.html
--- End quote ---
pacopizz:
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.
Navigation
[0] Message Index
Go to full version