Acme::Alien::__cpu_model - Provides the __cpu_model symbol
use ExtUtils::MakeMaker;
WriteMakefile(
# ...
LIBS => Acme::Alien::__cpu_model->libs,
);
Older GCCs, and some recent Clangs, like my Apple LLVM 8.0.0 (clang-800.0.42.1), lack the __cpu_model
builtin, which some libraries like GLFW depend on.
This package provides a useless definition, that allows packages using GLFW on such a system to link. As long you don't use any function, that depends on the exact value of __cpu_model
, all should be well.
const struct __processor_model {
unsigned int __cpu_vendor;
unsigned int __cpu_type;
unsigned int __cpu_subtype;
unsigned int __cpu_features[1];
} __cpu_model;
An archive is created with a single (non-COMMON) __cpu_model symbol
http://github.com/athreef/Alien-__cpu_model
Graphics::Raylib::XS for a package that depends on it to build correctly on some systems.
Ahmad Fatoum <[email protected]>
, http://a3f.at
Copyright (C) 2017 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hey! The above document had some coding errors, which are explained below:
- Around line 37:
-
=back without =over