🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #90

problem linking .obj files with EMX...

#90
From: the Dodger
Date: Sat, 31 Oct 1992 07:40
29 lines
1494 bytes
I'm haveing a bit of trouble. I am in a situation where I need to write some
assembly routines for OS/2. I decided to use TASM because I like it and it
definitely supports OS/2 and the flat memory model. The two subroutines I
am trying to use are both separate .obj modules. I assembled them with the
following command:

	tasm /la /oi ???.asm

The /oi is supposed to produce an IBM .obj file. I wrote the main program
in gcc and then tried to compile the whole thing with this command:

	gcc -Zomf -o test.exe test.c asm1.obj asm2.obj -los2

This should work shouldn't it?

Gcc compiles it all fine, but then LINK386 gives me two unresolved errors
for the two assembler functions. 

What am I missing?

Thanks for the help

Keith

-- 
                              ____          _____  ____
Keith Murray                 /     /___/ /\ \    \ \____    P.O. Box 1889
murrayk@prism.cs.orst.edu   /___  /   / /__\ \____\ ____\   Corvallis OR 97339
   the Dodger                  s  o  f  t  w\ a  r  e
Technical Details
Message-ID: <1992Oct31.074036.27274@CS.ORST.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!flop.ENGR.ORST.EDU!orstcs!orstcs!usenetusenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!flop.ENGR.ORST.EDU!orstcs!orstcs!usenetusenet
From: murrayk@prism.CS.ORST.EDU (the Dodger)
Newsgroups: comp.os.os2.programmer
Subject: problem linking .obj files with EMX...
Message-ID: <1992Oct31.074036.27274@CS.ORST.EDU>
Date: 31 Oct 92 07:40:36 GMT
Article-I.D.: CS.1992Oct31.074036.27274
Sender: usenet@CS.ORST.EDU
Organization: Oregon State University, Computer Science Dept.
Lines: 29
Nntp-Posting-Host: prism.cs.orst.edu