www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/11/14:44:13

Date: Tue, 11 Apr 1995 17:27:42 +0300
From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
To: djgpp AT sun DOT soe DOT clarkson DOT edu, lancette AT temasek DOT teleview DOT com DOT sg
Subject: Re: Help needed to create a library

> I am porting my library from MSC to GCC which is made up of C and 
> .ASM files. I want to create with these files a new library using GCC and 
> MASM. So,...
> 1. Do i have to assemble the .ASM with GCC?.  If so, what switches should 
> i use?.
> 2. Can i use .OBJ files compiled with MASM to create the library?
> 
> Would appreciate any alternative methods to create .O files from .ASM

Short answer:   (1): you can't assemble .asm with gcc;
		(2): you can't use .obj files compiled with MASM.
To use assembly language functions, you will have to convert the
.asm files to the format which AT&T assemblers (like GNU assembler)
understand; this must be done manually :-(.

Long answer: download and unzip the file faq100.zip (available from
the same place you get DJGPP) and read Section 17 of the FAQ list.

- Raw text -


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