NAME

Acme::Alien::__cpu_model - Provides the __cpu_model symbol

SYNOPSIS

use ExtUtils::MakeMaker;
WriteMakefile(
    # ...

    LIBS => Acme::Alien::__cpu_model->libs,
);

DESCRIPTION

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.

IMPLEMENTATION

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

GIT REPOSITORY

http://github.com/athreef/Alien-__cpu_model

SEE ALSO

Graphics::Raylib::XS for a package that depends on it to build correctly on some systems.

AUTHOR

Ahmad Fatoum <athreef@cpan.org>, http://a3f.at

COPYRIGHT AND LICENSE

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 52:

=back without =over