Yes, so far i know it is possible, but there is no need for it, cause gcc has alrady an own assembler, as(.exe for windows) in the bin directory,..
you are able to write and assemble .S or .asm files to .o -.obj's and link them further with other object files written in c or c++. Take care if you use c++ u should implement the asm functions as follow:
test.h
extern "C" void testasmfunc(char c);
extern void or_use_the_secondtestfunc(char c) asm("or_use_the_secondtestfunc");
Hi there :)
Is it possible to link a TASM object file (I expect it to be OMF) to my DEV-C++ project ?
If you know a good tool to convert from omf2coff, please tell me.
Thanx and greetz,
Ole L.
Yes, so far i know it is possible, but there is no need for it, cause gcc has alrady an own assembler, as(.exe for windows) in the bin directory,..
you are able to write and assemble .S or .asm files to .o -.obj's and link them further with other object files written in c or c++. Take care if you use c++ u should implement the asm functions as follow:
test.h
extern "C" void testasmfunc(char c);
extern void or_use_the_secondtestfunc(char c) asm("or_use_the_secondtestfunc");
test.asm
.global testasmfunc
.func testasmfunc
testasmfunc:
[...]
.endfunc
.global or_use_the_...
[...]
.endfunc
[...]
.end
rgds