delorie.com/archives/browse.cgi | search |
From: | "Kalum Somaratna" <kalum AT ToughGuy DOT net> |
To: | djgpp AT delorie DOT com |
Date: | Sun, 17 Oct 1999 15:24:50 +0600 |
MIME-Version: | 1.0 |
Subject: | Re: a86 .obj files how to link? |
X-mailer: | Pegasus Mail for Win32 (v3.12) |
Message-Id: | <19991017092419.9CE9F63A31@zagnut.hotpop.com> |
X-HotPOP: | ----------------------------------------------- |
Sent By HotPOP.com FREE Email | |
Get your FREE POP email at www.HotPOP.com | |
----------------------------------------------- | |
Reply-To: | djgpp AT delorie DOT com |
On 16 Oct 99, at 13:47, Susan Forman wrote: > 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? Hi Susan, The DJGPP FAQ in section 17.5 gives a detailed account of your problem and way's (if possible) to solve it. Kalum Somaratna
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |