• anton
    link
    fedilink
    arrow-up
    6
    ·
    5 days ago

    I think both gcc and clang are roughly build around the C memory model.
    If you want to interface with hardware you probably do volatile reads and writes to specific memory addresses.
    You should be able to compile for most gcc supported platforms.