Skip to content

-mno-crt0 is an unrecognized command #108

@Shayraddd

Description

@Shayraddd

hello guys i have a problem with compiling my project in docker even if i make the ps2dev in my pc i have this problem . when i try to compile my project i get an error that says

/projects/hello # make -f Makefile
mips64r5900el-ps2-elf-gcc -D_EE -G0 -O2 -Wall -gdwarf-2 -gz -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/ps2dev/ps2sdk/common/include -I. -c hello.c -o hello.o
mips64r5900el-ps2-elf-gcc -mno-crt0 -O2 -o hello.erl hello.o -L/usr/local/ps2dev/ps2sdk/ee/lib -Wl,-zmax-page-size=128 -Wl,-r -Wl,-d
mips64r5900el-ps2-elf-gcc: error: unrecognized command-line option '-mno-crt0'; did you mean '-mno-crc'?
make: *** [/usr/local/ps2dev/ps2sdk/samples/Makefile.eeglobal:89: hello.erl] Error 1

and idk what to do if anyone knows please tell me and this is the sample that im using :

hello.zip

``

thanks .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions