Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

cygwin

Name: Anonymous 2012-08-16 12:54

Hi nerds,
I'm running cygwin and need to link "*.o"-Files but it isn't working well:

>g++ CG.cpp matrix.cpp cputime.o -o CG.exe -O2
>cputime.o: file not recognized: File format not recognized

What am i doing wrong? (despite of programming under Windows)

Name: Anonymous 2012-08-16 18:59

>>4
file cputime.o
This will undoubtedly tell you that it's an i386 ELF (Executable and Linkable Format) object file, but since you're on Windows you want PE (Portable Executable) object files. Either use actual linux/bsd/whatever on a compatible processor, or tell your professor to cease being a retard and just give out the source so everyone can play; even those on SUPERIOR MIPS laptops.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List