Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

【求助】第五章,5.2汇编和C同时使用的例子,我机子是64位的。。

16 views
Skip to first unread message

郭同

unread,
Jun 23, 2013, 9:29:26 AM6/23/13
to osfrom...@googlegroups.com
我把 dd 改成 qd
dword  改成 qword 
编译能通过了
运行报错:
段错误 (core dumped)

GNU is not unix

unread,
Jun 25, 2013, 10:00:13 AM6/25/13
to osfrom...@googlegroups.com
core dump一般是遇到空指针了。用gdb看看core文件。


--
--
You received this message because you are subscribed to the Google
Groups "自己动手写操作系统" group.
To post to this group, send email to osfrom...@googlegroups.com
To unsubscribe from this group, send email to
osfromscratc...@googlegroups.com
For more options, visit this group at
https://groups.google.com/group/osfromscratch?hl=en
 
---
You received this message because you are subscribed to the Google Groups "自己动手写操作系统" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osfromscratc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--












Alpha Cheng

unread,
Jun 30, 2013, 6:58:33 AM6/30/13
to osfrom...@googlegroups.com
编译和链接的时候指定32位架构,什么都不用改


On Sun, Jun 23, 2013 at 9:29 PM, 郭同 <7792...@qq.com> wrote:
--
--
You received this message because you are subscribed to the Google
Groups "自己动手写操作系统" group.
To post to this group, send email to osfrom...@googlegroups.com
To unsubscribe from this group, send email to
osfromscratc...@googlegroups.com
For more options, visit this group at
https://groups.google.com/group/osfromscratch?hl=en
 
---
You received this message because you are subscribed to the Google Groups "自己动手写操作系统" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osfromscratc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Wishes.

Alpha.L Cheng
程方宁

Disclaimer:

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

Reply all
Reply to author
Forward
0 new messages