作者ric2k1 (Ric)
看板EE_DSnP
標題[情報] Homework #4 更正
時間Fri Apr 24 01:57:01 2009
[更正]
(04/21/2009)
1. class MemTestObj 的 size 在 reference code 裡是 14 Bytes, 但是 word/pdf
說明檔裡卻說是 12 Bytes <== 舊版的, 忘記更正了.
已更正 word/pdf, 並請以 reference code 為準.
2. Reference code 裡的 libcmd-xx.a 忘記 include "usage" 這個 command,
已重新製作 libcmd-xx.a 以及 reference programs (memTest-xx,
memTest-xx.debug), 請重新下載 hw4.tgz.
3. Error message 更新 (當 allocate 的 #Bytes > MemBlock 的 block size 時):
Example of new message:
Requested memory (112) is greater than block size(100). Exception raised...
(04/24/2009)
4. 我不小心用 ccws2 compile 32-bit 的 reference programs & library, 所以
同學們在 ccws4 上執行的話會看到:
Floating exception (core dumped)
這樣的 message. 這是因為 ccws2 比較新, 在舊的機器 (ccws4) 上 compile 的
code 放到新的機器 (ccws2) 上去跑不會有問題, 因為 backward compatible.
但是如果在新的機器上 compile, 拿到舊的機器上面去就不一定了...
所以請重新下載 hw4.tgz for the latest:
libcmd-32.a, memTest-32, memTest-32.debug
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.224.41.248
1F:→ BBCallR:感謝教授 04/24 02:07