delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/16/17:29:45

From: "Susan Forman" <sforman AT dellnet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: a86 .obj files how to link?
Date: Sat, 16 Oct 1999 13:47:19 -0700
Organization: UUNET
Lines: 36
Message-ID: <7uao80$33o$1@news01.arb1.te.uudial.us.uu.net>
NNTP-Posting-Host: 1cust129.tnt6.sfo1.da.uu.net
X-Trace: news01.arb1.te.uudial.us.uu.net 940106816 3192 63.17.197.129 (16 Oct 1999 20:46:56 GMT)
X-Complaints-To: news AT news01 DOT arb1 DOT te DOT uudial DOT us DOT uu DOT net
NNTP-Posting-Date: 16 Oct 1999 20:46:56 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello and thanks in advance for your help!

I'm fairly new to all this but I have a general
understanding of the issues involved and am good at figuring computer things
out. I just need a little help or especially a pointer to the info that
would tell me how to do this:

I am using dos/win98, and the A86 assembler. I have generated .OBJ files
from the asm source (along with .SYM symbol files) and now I'm trying to
link them with my .c main program source (the asm files contain 'procedures'
only.) Here's the command line and results:
-------
C:\pygmy\modex>gcc l47-7.c *.obj -o l47.exe
l47-7.c: In function `main':
l47-7.c:12: warning: return type of `main' is not `int'
l47-1.obj: file not recognized: File format not recognized
-------
(some of you may recognize that I'm playing with Michael Abrash's graphics
routines :) I know about and gratefully use Allegro, but I have my reasons
for also doing this)

I spent some time looking but I couldn't find anything to tell me how to
link these properly. Does the djgpp linker just not know A86's object
format? Can it be 'taught'? Can I convert to a different .OBJ format? Is
there a BFD back end for A86 obj files? Can I output compatible .o format
files from A86?

I would love to be told where I could find this out on my own, but if one of
you knows and cares to tell me directly that would also be awesome!
Thank you thank you thank you again for your time and effort,
sorry to be so long winded,

-Pedro
rogue_pedro AT yahoo DOT com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019