cygwin에서 elf format으로 ld못하나요?

atlacpi의 이미지

ld --oformat binary
binary옵션주니까

LD : PE operationgs on non PE file

이런 메세지 뜨고 에러 나네요.

PE format말고는 링크가 안되는가요?

sliver의 이미지

elf 안되더군요.
저같은 경우는 binutils소스를 받아서 elf지원하게끔 컴파일 했습니다.

atlacpi의 이미지

그렇군요..
binutils를 elf지원하게...

답변감사합니다.

Vm~*