[問題] cannot execute binary file
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Linux GCC
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
小弟我把寫好的程式,透過command line tool 下指令 complier成 .exe檔
EX:gcc -c test.c -o test.exe
接著輸入:test.exe
但是卻得到: bash:test.exe:cannot execute binary file
我丟進Google之後得到的結論多半是用錯complier >"<
難不成使用gcc 還可以針對要用哪一版本去complier?!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.251.71.22
推
04/01 14:22, , 1F
04/01 14:22, 1F
→
04/01 14:23, , 2F
04/01 14:23, 2F
→
04/01 14:25, , 3F
04/01 14:25, 3F
→
04/01 14:26, , 4F
04/01 14:26, 4F
推
04/01 14:29, , 5F
04/01 14:29, 5F
→
04/01 14:29, , 6F
04/01 14:29, 6F
→
04/01 14:32, , 7F
04/01 14:32, 7F
推
04/01 15:28, , 8F
04/01 15:28, 8F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章