Skip to content
This repository was archived by the owner on Nov 4, 2023. It is now read-only.
This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Generated executables appear as shared libraries #19

@MxDevlin

Description

@MxDevlin

When building a BlitzMax executable program on Linux, the generated executable is detected as a shared library and cannot be launched normally.
On my current project in BMax produces this output when launching from graphical interface
Screenshot_at_2019-08-22_02-01-14
and produces this output when using file command.

./ees: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=bff6936bdde6b97ee3790dd6ae45d379961cd0ac, stripped

I believe there's a switch (-no-pie) that can be used in gcc to solve this issue.

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