On Fri 14 Apr 2023 at 22:58:24 +0000, Nia Alarie wrote: > For some reason, the test for compiler flag -msse4.2 is failing, even > though it's present in the cc -v --help output (is cwrappers doing > something strange?). Yes, the wrapping triggers something strange. emulators/open-simh also tries to detect supported compiler flags by looking at the output from "cc --help". The wrappers add some options unconditionally, and that causes the --help output to be much shortened (that would be a gcc weirdness) and various vital options are not detected. In emulators/open-simh I just hardcoded the flags... but a better solution would be nice. I think I tried with various gcc versions and on some later one, the problem does not occur any more. -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFH falu.nl@rhialto
Attachment:
signature.asc
Description: PGP signature