作者ric2k1 (Ric)
看板EE_DSnP
标题Re: [问题] 64bit 测试
时间Fri Nov 26 23:58:28 2010
※ 引述《hunallen (一路上有你)》之铭言:
: 请问一下老师
: 有提供测试64bit的地方吗
: 谢谢
不好意思,让大家久等了!
如果你没有 64-bit platform 可以测试,你可以到:
http://cc.ee.ntu.edu.tw/
~ric/
teaching/
DataStructureProgramming/
memTest-64.htm
(请自行将上面几行连起来)
然後:
1. Upload your bxxxxxxxx_hw4.tgz
2. Press upload HW#4 at the bottom
3. Ignore the first few compilation warning if you see any.
Check the end of the compilation to see if it succeeds.
4. You will see the results of running do1 ~ do4 on the screen.
5. You can also type in your own dofile.
应该很简单用,有问题再跟我说。
Note:
1. 注意一下 2846 篇所说的,要把 -m32 从 CFLAGS 中拿掉!!!!!
请将 src/Makefile.in 的第 15 & 16 行交换一下:
[旧版]
15 CFLAGS = -g -Wall $(PKGFLAG)
16 CFLAGS = -g -m32 -Wall $(PKGFLAG)
[更正版]
15 CFLAGS = -g -m32 -Wall $(PKGFLAG)
16 CFLAGS = -g -Wall $(PKGFLAG)
2. 请原封不动上传,不用根据 mustXXXX.txt 档里所说的把档案移除!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.36.58.139
1F:→ cktigeryang:教授,他是不是不会提供makefile阿@@ 11/27 10:40
2F:→ cktigeryang:他回答我no makefile found...... 11/27 10:40
3F:推 Knossos:有奇怪的error: /usr/bin/ld: cannot find -lcmd 11/27 11:28
4F:→ Knossos:[memTest]Error1 [main]Error2 都一样的 11/27 11:28
5F:→ Knossos:我是整个资料夹打包传上去的 没有删掉应该删的档案 11/27 11:29
6F:→ ric2k1:麻烦先 make 64 再 tar 後再上传试试看? 11/27 12:49
7F:→ ric2k1:不对呀, 他会自己 make 64 啊... 11/27 12:51
8F:推 TommyKSHS:我也遇到和一楼一样的问题… 11/27 12:58
9F:→ ric2k1:oh, 请将整个目录 tgz 起来上传, 不用移除 makefile 11/27 13:01
10F:→ ric2k1:他会用你目录现有的所有档案来 make, 以及 tests 底下的 11/27 13:01
11F:→ ric2k1:do1 ~ do4 来测 11/27 13:02
12F:→ ric2k1:可以了吗? 11/27 13:08
13F:推 Knossos:我有make 64再上传过 问题并没有解决... 11/27 13:56
14F:→ ric2k1:楼上请把 make 後的 message 寄过来给我看一下... 11/27 14:05
15F:→ ric2k1:I mean 在测试平台上 make 的 message 全部寄过来 11/27 14:05
16F:→ ric2k1:==== 注意注意注意 ==== 11/27 21:38
17F:→ ric2k1:上传前请看一下 2846 篇!!!!!!!!!!!!!! 11/27 21:39
※ 编辑: ric2k1 来自: 114.36.58.139 (11/27 21:42)
18F:→ ric2k1:cktiger & Tommy 还有问题吗? 11/27 21:42
19F:推 cktigeryang:可以了~酷耶 11/28 00:05
20F:推 cktigeryang:谢谢教授!! 11/28 00:52
21F:推 TommyKSHS:嗯 刚刚上传後也没有问题了! 11/28 11:57
22F:推 Knossos:不知道有没有64-bit的dofile的正确输出可以作为对照? 11/29 12:44
24F:推 pandakuo:把 -m32 从 CFLAGS 中拿掉 那15 行跟16 行不就一样了@@"? 11/30 00:16
25F:→ ric2k1:对啊! 所以说交换也可以 11/30 00:40
26F:推 tomap41017:记得make clean在上传... 11/30 11:41