Mail Archives: djgpp/2003/08/03/23:07:48
--0-1025117782-1059964838=:95560
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
I compiled a C program (which I wrote in C and some ASM) using Borland C compiler and worked perfectly. Now I am trying to compile it using the GCC compiler (downloaded from www.delorie.com) but I get some errors. These errors arise from the use of in-line assembly in the source code. I know that the in-line assembly syntax using GCC is different from the one used with Borland C. There are big differences between them. Therefore I was wondering if it is possible to compile the procedures that have assembly code inside with the Borland C compiler. I would get an OBJ file. Then I would compile the other part of the source (that has no problems at all when compiled with GCC) and finally I would link all the OBJs together. Is that posibble?. How can I achieve that?. If not possible, is there any other way of solving the problem?.
Thank a lot....
Sincerely, Martin.
---------------------------------
Internet GRATIS es Yahoo! Conexión.
Usuario: yahoo; contraseña: yahoo
Desde Buenos Aires: 4004-1010
Más ciudades: clic aquí.
--0-1025117782-1059964838=:95560
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>I compiled a C program (which I wrote in C and some ASM) using Borland C compiler and worked perfectly. Now I am trying to compile it using the GCC compiler (downloaded from <A href="http://www.delorie.com">www.delorie.com</A>) but I get some errors. These errors arise from the use of in-line assembly in the source code. I know that the in-line assembly syntax using GCC is different from the one used with Borland C. There are big differences between them. Therefore I was wondering if it is possible to compile the procedures that have assembly code inside with the Borland C compiler. I would get an OBJ file. Then I would compile the other part of the source (that has no problems at all when compiled with GCC) and finally I would link all the OBJs together. Is that posibble?. How can I achieve that?. If not possible, is there any other way of solving the problem?.<BR>Thank a lot....</DIV>
<DIV> Sincerely, Martin.<BR></DIV><p><br><hr size=1><b>Internet GRATIS es Yahoo! Conexión</b>.<br>
Usuario: yahoo; contraseña: yahoo<br>
Desde Buenos Aires: 4004-1010<br>
Más ciudades: <a href="http://ar.rd.yahoo.com/mail/tag/?http://ar.online.yahoo.com"><b>clic aquí</b></a>.
--0-1025117782-1059964838=:95560--
- Raw text -