🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #10

Linking Problems

#10
From: P.E. Mazur
Date: Wed, 28 Oct 1992 01:55
17 lines
1273 bytes
This should be an easy one guys.  Ive written a simple little 286 assembler
program, and assembled it with Turbo Borland Assembler like this:
    tasm demo
Next, I wrote a little C program and compiled it using Turbo C (5.5 I think):
    tcc -c intro

Now I hoped that I would get two link files which I could then link together
using either the Assembler Tlink program or the C tcc program.  The Tlink
program complained that the labels in the C file were not recognised, and
I havent been able to figure out how to use tcc to link them together either.

The bottom line:  HOW DO I LINK THE ASSEMBLER FILE WITH THE C FILE???

Anyone know the Tcc syntax for doing this?  (those criptic paramaters are a
real pain!)

				- Shem
Technical Details
Message-ID: <1992Oct28.015555.23775@monu6.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!eda735a

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!eda735a
From: eda735a@monu6.cc.monash.edu.au (P.E. Mazur)
Subject: Linking Problems
Message-ID: <1992Oct28.015555.23775@monu6.cc.monash.edu.au>
Keywords: Asm Object file with C Object file
Organization: Monash University, Melb., Australia.
Date: Wed, 28 Oct 1992 01:55:55 GMT
Lines: 17