English 中文(简体)
利用Eclipse CDT和备用工具链汇编图
原标题:Trouble compiling using Eclipse CDT with alternate toolchain

I m 试图利用Eclipse CDT(Version:Indigo Service Release 1 Building id:20110916-0149),在RHEL6 64 bitosphere和I m 存在问题。 我已做过我认为必须使用备用工具链来进行汇编的工作,但似乎有些缺失,因为粗略地说,它汇编了来文方,但却没有这样做。

安排一到C/C++ 项目财产——和;C/C++ 围绕“建筑群”构筑“设计”组合,在“建筑群”制成表一中,对“Use违约行为建筑指挥”检查箱进行了核对,并将我的工具链“所有”的名称输入“私人指挥”领域。 然后,我对“基因成像自动”检查箱进行了检查。 随后,我将“蓝色名录”领域改为“”。 最后,我去了“Behavior”的表格,并对“节省资源”(Auto Building)”的核对箱子进行了控制,并将“make建筑目标”改为“所有选用的——资源——loc}”。

现在,当我去我的项目时,我选择了需要修建的子宫,然后在工具栏上点击,这就是:

(1) 我简要地看到“建设项目”。

2) The CDT build console displays this:

**** Build of configuration Debug for project myproj ****

mk all

**** Build Finished ****

以上是我所看到的,在我的法律需要重建、不需要重建以及汇编中存在错误的时候。 我可以通过在我想要建造的目录中打开一个“双叉”和打上“mk”来核实这一点。 当我从终点站收集资料时,我可以看到汇编者的产出(结果和错误等),但片面显示我没有任何情况。

我必须失踪,但我不敢肯定。 是否有任何想法认为我做错了什么?

--update--

我发现,我的问题有多大部分,这证明,我的建筑工具是用纸张书写的,没有一把羊。

My next issue is that the build is always invoked from the root of the project, which has no makefile. I have tried putting the "${selected_resource_loc}" variable into both the "make build target" field, but it does not seem to have the correct effect as my "mk all" command seems to be invoked with the variable being translated to an empty string every time. Any ideas on this side issue?

最佳回答

rel=“nofollow>> FU: 在这方面,我们迄今所看到的......

I sorta solved my issue. I had asked a friend with a similar setup to try this out, and he got it to work on the first try. I then concluded that it was either my install or my project. Thus, I proceeded to delete the project files (.project and .cproject) and recreate the project. After I completed that, it seemed to work like a charm. I must have selected an obscure incompatible project option, that caused something to not expand the ${selected_resource_loc} variable. Weird. I hope this helps someone along the way.

问题回答

暂无回答




相关问题
Eclipse-C++-Debugging: see content of an Array

Is it possible to see the content of a dynamically allocated array, as in: int *array = new int[dimension]; I only see the value of the pointer. edit: just found the option "display as an array", ...

g++ produces big binaries despite small project

Probably this is a common question. In fact I think I asked it years ago... but I can t remember the answer. The problem is: I have a project that is composed of 6 source files. All of them no more ...

Grouping Files in Project Explorer in Eclipse

I am newbie to Eclipse, I am planning to use it for AVR development with WinAVR and gcc. The feature I am looking for is the grouping of different files in the project, like all headers together, all ...

Eclipse CDT static resources under build folder

I m building a C++ project under Eclipse and my release folder should include a static sub-folder with some files inside it, those are required by executable during runtime. The problem is that this ...

"Export" button in Eclipse CDT "Paths and Symbols" dialog?

On the Includes tab of the Paths and Symbols section of the Project Properties dialog in the Eclipse CDT, there is an "Export" button: The best documentation I have found says that this "toggles ...

Create an Eclipse project on the command line?

I would like to have a shell script create an entire CDT project on the command line and add it to a workspace. I m willing to generate the .project and .cproject files myself, but I d like something ...

热门标签