Skip to content

Add support for platform dependent compiler dependencies when parsing command

Neill Whillans requested to merge neill/rpc_parsedcommand into master

Description

This request aims to provide support for platform dependent compiler dependencies when parsing the Recc command. This is needed as there are compiler binaries on different platforms that share the same name.

Changes

  • Renaming of SunC compiler list (cc, c89, c99) to CCompilers
  • Logic to ParsedCommand to set the correct compiler dependencies based on the platform, using RECC_PLATFORM_COMPILER
  • Logic to createParsedCommand() to set the correct compiler rules based on the platform, using RECC_PLATFORM_COMPILER
  • Sanity check added to test/deps.t.cpp
Edited by Neill Whillans

Merge request reports