Thread: Linker

  1. #1
    Join Date
    May 2004


    i found that i have tasm32.exe in my cbuilder6/bin directory so i can assemble .asm files. but i cant find out how to link them. is there a command line linker? or do i need to use bcc32.exe?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Well if your compiler front end is smart enough, you could try
    bcc32 prog1.c func2.asm

    Begs the question what manuals have you read, and what have you tried
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Join Date
    May 2004
    ive briefly read the help file for BCB6 but those things are hard to find want you want.

    i do
    bcc32 test.asm
    and i get a test.obj file.
    then i try
    bcc test.obj
    and i get
    D:\Program Files\Borland\CBuilder6\Bin>bcc32 test.obj
    Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
    Turbo Incremental Link 5.60 Copyright (c) 1997-2002 Borland
    Fatal: Unsupported 16-bit segment(s) in module test.ASM
    i think it works. there is just a syntax error
    Last edited by sand_man; 06-24-2004 at 04:13 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linker problem... no idea
    By cyreon in forum C Programming
    Replies: 2
    Last Post: 04-03-2009, 02:53 PM
  2. linker
    By George2 in forum C++ Programming
    Replies: 6
    Last Post: 02-23-2008, 01:25 AM
  3. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 07:42 AM
  4. Linker errors when compiling
    By The Wazaa in forum C++ Programming
    Replies: 4
    Last Post: 10-07-2006, 12:55 PM
  5. Compile with *.lib
    By Kelvin in forum C++ Programming
    Replies: 1
    Last Post: 07-23-2002, 06:24 PM