Skip to content

-cclib should pass flags to the ld -r invocation used in -output-obj #6796

@vicuna

Description

@vicuna

Original bug ID: 6796
Reporter: @whitequark
Assigned to: @whitequark
Status: closed (set by @whitequark on 2015-04-29T17:35:05Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.02.2+dev / +rc1
Category: ~DO NOT USE (was: OCaml general)
Related to: #6797
Monitored by: @gasche

Bug description

This is most useful in linking the OCaml runtime inside the file generated with -output-obj.

Also, the tag runtime_variant() should be recognized by ocamlbuild and add the corresponding -cclib -l[byte|asm]run[variant] flag; when not used, to preserve backwards compatibility, nothing would be passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions