Skip to content

Hello64 Linking #1

Description

@CharlesBunders

I am running OS X version 10.11.6. I get the following error when linking the example.

$ ld -arch x86_64 -macosx_version_min 10.6 -o hello64 hello64_m.o /usr/lib/crt1.o /usr/lib/libc.dylib
ld: illegal text-relocation to '.data' in hello64_m.o from '_main' in hello64_m.o for architecture x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions