Skip to content

What release of MinGW is needed? #1

@gergesh

Description

@gergesh

Trying to run the python script, using the latest MinGW from either https://winlibs.com/#download-release or https://github.com/niXman/mingw-builds-binaries/releases throws this error:

[+] x86_64-w64-mingw32-gcc -c payload.c -o bin/payload.o  -Os -fPIC -nostdlib -nostartfiles -ffreestanding -fno-asynchronous-unwind-tables -fno-ident -e start -s
ld: cannot perform PE operations on non PE output file 'bin/payload.bin'

This was after modifying CC in the python code and removing the -win32 suffix (since the file was not present in the above releases).

What version of MinGW did you use when testing this out, and where did you download it from? Thanks!

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