Mail Archives: djgpp/1995/04/11/14:44:13
> 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 -