為什麼這篇Mingw-w64 exe鄉民發文收入到精華區:因為在Mingw-w64 exe這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者wope (獨立黑色色彩)看板C_and_CPP標題[問題] mingw-64如何編譯出64位元...
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
win 7 + mingw-w64 (GCC) + Eclipse (IDE)
c:\> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/program files/mingw64/bin/../libexec/gcc/x86_64-w64-mingw
32/4.7.3/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: /home/drangon/work/mingw-w64-dgn/source/gcc/configure --host=x8
6_64-w64-mingw32 --target=x86_64-w64-mingw32 --disable-nls --enable-languages=c,
c++,objc,obj-c++ --with-gmp=/home/drangon/work/mingw-w64-dgn/build/for_target --
enable-twoprocess --disable-libstdcxx-pch --disable-win32-registry --prefix=/hom
e/drangon/work/mingw-w64-dgn/target --with-sysroot=/home/drangon/work/mingw-w64-
dgn/target
Thread model: win32
gcc version 4.7.3 20130103 (prerelease) (GCC)
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
無
問題(Question):
如何編出X64的exe檔
餵入的資料(Input):
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("Hello Eclipse\n");
system("pause");//暫停功能
return 0;
}
預期的正確結果(Expected Output):
在工作管理員中沒有 Hollo.exe*32
而編出 Hollo.exe (沒有*32)
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.63.132