Skip to content

Setting of CPU type in *features* not portable to different platforms #268

@dg1sbg

Description

@dg1sbg
  1. Function void Lisp_O::parseCommandLineArguments() in file lisp.cc contains a number of features setup commands that are not depending on cmd line args.
  2. Some of these features are platform dependent - e.g. CPU type. For a correct setting of CPU types see: http://nadeausoftware.com/articles/2012/02/c_c_tip_how_detect_processor_type_using_compiler_predefined_macros#Howtodetecttheprocessortype

Possible solution approach: Factor out setting features not depending on cmd line args into a separate function. Then use the article's recommendations to set-up the CPU type in features.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions