[問題] 請教如何在codeBlocks編譯64位元程式
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
想請教各位高手,小弟的作業系統是win7 64 bits
有爬過cjoe大大所發的文,依照其做法後編譯出來之程式仍為32 bits
小弟目前需要編譯64位元程式最大的目的是希望能夠以64位元作為定址方式
才可有效利用RAM(8G)
網路上搜尋也找過下列文章
http://wiki.codeblocks.org/index.php?title=64Bit_Windows
仍舊無法達成目的
還請各位賜教
餵入的資料(Input):
預期的正確結果(Expected Output):
sizeof(void*) = 8
錯誤結果(Wrong Output):
sizeof(void*) = 4
程式碼(Code):(請善用置底文網頁, 記得排版)
printf("sizeof(void*) = %d\n",sizeof(void*));
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.107.62
→
11/25 15:15, , 1F
11/25 15:15, 1F
→
11/25 15:15, , 2F
11/25 15:15, 2F
→
11/25 15:36, , 3F
11/25 15:36, 3F
→
11/25 16:21, , 4F
11/25 16:21, 4F
→
11/25 16:21, , 5F
11/25 16:21, 5F
→
11/25 19:07, , 6F
11/25 19:07, 6F
→
11/27 02:49, , 7F
11/27 02:49, 7F