R
Remi.Arntzen
I tried to compile a program to a elf shared library for a Linux
platform on a windows machine with the command:
gcc -o Prog.so -shared -Wl,--oformat -Wl,elf32-i386
however this results in
ld: cannot perform PE operations on non PE output file
When compiling to PE format no errors are generated, which leads me to
believe that some post processing operations are being preformed.
This error message does not help me figure what PE operations are being
performed, because I have explicitly told it to output elf format
output.
How can I correct this problem?
platform on a windows machine with the command:
gcc -o Prog.so -shared -Wl,--oformat -Wl,elf32-i386
however this results in
ld: cannot perform PE operations on non PE output file
When compiling to PE format no errors are generated, which leads me to
believe that some post processing operations are being preformed.
This error message does not help me figure what PE operations are being
performed, because I have explicitly told it to output elf format
output.
How can I correct this problem?