Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

cross-compilation versus emulated (native) compilation (Emulation)

posted by Rugxulo Homepage, Usono, 04.03.2020, 03:07

> > Anyways, on this Lenovo 3.2 Ghz desktop (Win7, 64-bit),
> > [rebuilding p7zip] only takes 8 minutes to rebuild on VBox 6.1.2
> > but 8 + 1/2 hours with QEMU 4.2.0 (no VT-X support.
>
> Anyways, for laughs, I updated to latest 6.0.x series of VBox (6.0.16) on
> my ancient non-VT-X laptop (2.2 Ghz). It's actually faster than QEMU on the
> better desktop: "only" five hours!

I don't wish to be off-topic, but this subforum is about emulation, and the OP is using ROM-DOS under a virtual machine. (N.B. Tuxera [NTFS on Linux] apparently bought Datalight last year.)

Mainly, I'm just following up with stats about cross-compilation (compared with slower emulation of native compilation). I'm testing Andrew Wu's cross G++ 7.2.0 (DJGPP 2.05, BinUtils 2.29, "MinGW standalone") atop Win7 SP1 64-bit. Actually, I'm using FPC's GNU Make 3.82 (dated 2012, built for "i686-pc-mingw32").

I tried -j1, -j2, etc., all up through -j6 on this "four" core Clarkdale (Lenovo i5 650). It's actually two cores but HTT makes it pretend to have four. But all the compiles seem the same speed, surprisingly, roughly 72 seconds, and all match the same CRC32 for 7ZA.EXE (which differs extremely slightly to the native DJGPP build, even with same version tools, dunno why). Hmmm, since "make -j" does infinite jobs, I tried that: only 33 secs!

Honestly, I almost resent cross-compilation. Not when it works (which is rare), but moreso because it just lets everything fall apart and ignores obvious portability problems with reasonable solutions. "All the world's a VAX!" It's good to have the option, but when even that doesn't work, it's annoying.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 151 users online (0 registered, 151 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum