Mail Archives: djgpp/2000/07/23/01:15:42
On Sun, 23 Jul 2000, AndrewJ wrote:
> > Anyway, that's not the problem I had in mind. Watcom has special
> > pragmas frequently used with inline assembly, which will need to be
> > converted to GCC equivalents. This is not easy.
>
> The pragma's should be no more difficult to convert than normal _asm {} blocks.
> There are a few tricky things to take into consideration, such as the ability
> to define what variables go into what registers, instead of having them passed
> in Watcom's normal order. What specifically did you have in mind, Eli?
What I had in mind was the actual work of doing the conversion ;-).
Sure, it's not rocket science, but it does require a good understanding
of GCC's inline assembly facilities. If the original source has gobs of
inline code, that might put a drag on porting it.
To recap: the original question was how hard would it be to port the
program to DJGPP. What I replied was that one of the factors is how much
does the original source use inline assembly.
- Raw text -