Message-ID: <20030804024038.97385.qmail@web14612.mail.yahoo.com> Date: Sun, 3 Aug 2003 23:40:38 -0300 (ART) From: =?iso-8859-1?q?Martin=20Iraizoz?= Subject: Migrating from BorlandC to GCC To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1025117782-1059964838=:95560" Content-Transfer-Encoding: 8bit --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
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--