home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,755 of 4,675   
   rugxulo@nospicedham.gmail.com to NimbUs   
   Re: interfacing ASM (ia-32) with GNU g77   
   28 Jun 17 16:26:29   
   
   Hi,   
      
   On Wednesday, June 28, 2017 at 4:11:03 AM UTC-5, NimbUs wrote:   
   >   
   > This is /not/ to add to or contradict any of what you've been   
   > writing, obviously you know this versionning stuff with an   
   > exquisite level of details. /I/, well I don't know what I'm   
   > doing, in fact I'm not doing anything special, I can't even   
   > remember where I got the g77 compiler bundle from, I'm just   
   > positive that it compiles Fortran programs to regular Windows-   
   > console-subsystem executables [not mingW nor MSYS afaict,   
   > unless that is statically embedded),   
      
   Windows uses PE/COFF while DOS/DJGPP uses MZ/COFF. MinGW-based   
   stuff usually needs Windows' own proprietary MSVCRT.DLL.   
   DJGPP (and OpenWatcom) don't rely on that at all.   
      
   > said executables which  happily will run, unmodified, in   
   > *HXDOS* under DOS. I had no "fix" to NTVDM, nor patch to   
   > the compiler bundle itself - which unfortunately I can't   
   > remember where I got it from :=(   
      
   HX is interesting but not something to rely upon. And if   
   you're using MS' MSVCRT.DLL there anyways, then you're   
   basically missing the whole point. It is normally not   
   included there by default (obviously??). (There was partial   
   compatibility you could get with old ReactOS 0.3.14's   
   MSVCRT.DLL, but your mileage may vary.)   
      
   It's probably wiser to trust a native DOS compiler for DOS   
   use, even if it PE mostly (accidentally) works under HX.   
   (The whole point was that XP also works well with DJGPP.)   
      
   > In other words, it just works (TM) !   
      
   I tried under QEMU (FreeDOS 1.2 + some networking tools   
   for downloading), it seems to work fine (DJGPP's G77 + NASM).   
      
   Of course most people would rather suggest you use latest   
   "gfor710b.zip" instead.   
      
   Again, just FYI. Use whatever you want.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca