English 中文(简体)
学习技能内部[闭门]
原标题:Learning gcc internals [closed]
  • 时间:2012-01-12 23:16:21
  •  标签:
  • c
  • gcc
Closed. This question needs to be more focused. It is not currently accepting answers.

我最近非常关心汇编者及其工作方式。 既然有电源,我就认为这将是研究的最佳材料。

我认识到的第一个问题是,如果我对简单的汇编设计原则有基本了解,那么研究收受将是毫无意义的。 我自那以来一直在认真阅读“《手册》,从我所看到的情况来看,这本书是关于汇编者执行的实际书籍。

无休止地阅读该书,只会使我更愿意了解编集者,如克谢。

此外,我认为有必要说,我确实对c/c++有中间的理解。 (aka, Im, 不要在不知情的情况下学习。) 我希望,学习快乐也会帮助我改进。

我已经下载了我可以找到的最新建筑;然而,在使用源代码时,我就失去了。

我期待的是关于如何开展工作的建议。 是否有类似的项目,它不是如此庞大的,我可以把它作为跳板。 是否有一个特别的“gcc”模块,建议首先研究? 是否有任何书本可以执行,而不是使用? 或许 我应停止鞭 whi,只读一下来文方,直到点击?

任何反馈都将受到高度赞赏。

EDIT:如果你认为我应当研究不同的汇编者/口译人员,我将非常赞赏关于哪些建议。

最佳回答

If you want to look at a very tiny compiler, I would recommend Fabrice Bellard s Tiny C Compiler.

值得一提的是,Fabrice Bellard与他的。 也可使用一个引信版本,并可在上查阅。

如果你想要一些小小小小小的、能够学习的话,就应该如此。

问题回答

我肯定会看部族/民族解放军。 我认为,该守则的基础非常可读。 你们可以选择的一个非常可行的选择是,将LV作为后端,并写出你自己的简单易法和教区。





相关问题
Fastest method for running a binary search on a file in C?

For example, let s say I want to find a particular word or number in a file. The contents are in sorted order (obviously). Since I want to run a binary search on the file, it seems like a real waste ...

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Trying to split by two delimiters and it doesn t work - C

I wrote below code to readin line by line from stdin ex. city=Boston;city=New York;city=Chicago and then split each line by ; delimiter and print each record. Then in yet another loop I try to ...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

Encoding, decoding an integer to a char array

Please note that this is not homework and i did search before starting this new thread. I got Store an int in a char array? I was looking for an answer but didn t get any satisfactory answer in the ...

热门标签