cross-compilation versus emulated (native) compilation (Emulation)
> > 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:
- Datalight ROM-DOS floppy image creation - rr, 02.02.2020, 16:44 (Emulation)
- Datalight ROM-DOS floppy image creation - Rugxulo, 04.02.2020, 05:07
- Datalight ROM-DOS floppy image creation - rr, 05.02.2020, 15:59
- FAT image creation - Rugxulo, 08.02.2020, 11:21
- FAT image creation - marcov, 08.02.2020, 14:54
- FAT image creation - Rugxulo, 16.02.2020, 18:36
- FAT image creation - marcov, 17.02.2020, 10:21
- FAT image creation - Rugxulo, 18.02.2020, 03:39
- FAT image creation - Rugxulo, 18.02.2020, 21:13
- VBox vs. QEMU without VT-X - Rugxulo, 19.02.2020, 10:56
- cross-compilation versus emulated (native) compilation - Rugxulo, 04.03.2020, 03:07
- cross-compilation versus emulated (native) compilation - Rugxulo, 04.03.2020, 23:11
- cross-compilation versus emulated (native) compilation - Rugxulo, 04.03.2020, 03:07
- VBox vs. QEMU without VT-X - Rugxulo, 19.02.2020, 10:56
- FAT image creation - marcov, 19.02.2020, 10:37
- FAT image creation - Rugxulo, 18.02.2020, 21:13
- FAT image creation - Rugxulo, 18.02.2020, 03:39
- FAT image creation - marcov, 17.02.2020, 10:21
- FAT image creation - Rugxulo, 16.02.2020, 18:36
- FAT image creation - marcov, 08.02.2020, 14:54
- FAT image creation - Rugxulo, 08.02.2020, 11:21
- Datalight ROM-DOS floppy image creation - rr, 05.02.2020, 15:59
- Datalight ROM-DOS floppy image creation - rr, 07.12.2020, 23:01
- Datalight ROM-DOS floppy image creation - ecm, 08.12.2020, 14:06
- Datalight ROM-DOS floppy image creation - ecm, 08.12.2020, 16:29
- Datalight ROM-DOS floppy image creation - rr, 08.12.2020, 22:20
- Datalight ROM-DOS floppy image creation - ecm, 09.12.2020, 10:49
- Datalight ROM-DOS floppy image creation - rr, 08.12.2020, 22:20
- Diskette image creation batch files - ecm, 15.12.2020, 22:38
- Diskette image creation batch files - ecm, 15.12.2020, 22:58
- Diskette image creation batch files - ecm, 19.12.2020, 18:21
- Diskette image creation batch files - ecm, 15.12.2020, 22:58
- Datalight ROM-DOS floppy image creation - Rugxulo, 04.02.2020, 05:07