delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/03/23:07:48

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?= <martin_iraizoz AT yahoo DOT com DOT ar>
Subject: Migrating from BorlandC to GCC
To: djgpp AT delorie DOT com
MIME-Version: 1.0

--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>&nbsp;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 -


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