Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OSLib OSLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • RiscOS
    • SSources
  • Lib
  • OSLibOSLib
  • Merge requests
  • !2

Open
Created Aug 31, 2021 by Ben Avison@bavisonDeveloper
  • Report abuse
Report abuse

Support cross-compilation

  • Overview 1
  • Commits 1
  • Pipelines 4
  • Changes 5

While this component is stored in pre-compiled form, we need the header filenames to be converted to postfix-extension form during the export phase so that compilers and other code analysis tools will find them. Because this is a somewhat unusual component, this is achieved with a custom makefile for cross-compilation use. Support is also included for converting the object files to ELF format when exporting, if ${TOOLCHAIN} is GNU.

Enable GitLab CI (native Makefile given partial GNU make compatibility to facilite some of the CI jobs, and as a side-effect will enable correct syntax colouring in GitLab).

NOT_USED macro refactored to avoid cppcheck warnings in clients. It now evaluates its argument only once, so is more function-lilke, but sadly has to remain a compound statement because a few components use it without a trailing semicolon.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: CrossCompilationSupport