Chinaunix首页 | 论坛 | 博客
  • 博客访问: 237136
  • 博文数量: 72
  • 博客积分: 2592
  • 博客等级: 少校
  • 技术积分: 834
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-28 00:16
文章分类

全部博文(72)

文章存档

2014年(1)

2012年(1)

2011年(6)

2010年(12)

2009年(19)

2008年(28)

2007年(4)

2005年(1)

我的朋友

分类:

2007-12-24 18:39:19

发现 /usr/local/bin/ctfconvert 没有……
这个比较麻烦,在opensolaris上有源码,但是支持mach-o格式的版本还没有,需要改出来。跟支持CTF格式有关的工具。
apple的网站上有dtrace包,需要安装才能生成这个工具。

用gcc3.3-1809 依旧是 __builtin_clz的错误停止了。
用gcc4.0 的话
warning: inline failed in call to XXX     --param max-inline-insns-single limit reached
warning: called from here

最后
cc1plus warning being treated as  errors  不能编译下去。

估计是gcc版本问题,一查,发现8.4.0以后,gcc_os版本更新到-1819了。马上现在编译更新,从昨晚到现在。目前还在编译中──模拟的Darwin还是效率低啊。


在MackInc.cmd 看到
在8.0.1系统中:
工具 dsymutil缺少,大概与动态链接相关的。这个工具暂时没找到相应要装哪个包。

CTF工具集:ctfconvert、ctfmerge和ctfdump均缺少。这些工具均在dtrace源码包上tools目录下。

dsymutil(1)               BSD General Commands Manual              dsymutil(1)

NAME
dsymutil -- manipulate archived DWARF debug symbol files.

SYNOPSIS
dsymutil [--arch=ARCH] [--out=path] exe_path

DESCRIPTION
dsymutil links the DWARF debug information found in the object files for
an executable exe_path by using debug map information contained in its
symbol table.

A list of flags and their descriptions:

--arch=ARCH
Link DWARF debug information only for specified CPU architecture
types. Architectures may be specified by name or by number.
When using this option, an error will be returned if any archi-tectures architectures
tectures can not be properly linked. This option can be speci-fied specified
fied multiple times, once for each desired architecture. All
cpu architectures will be linked by default and any architec-tures architectures
tures that can't be properly linked will not cause dsymutil to
return an error as long as at least one architecture was able to
link successfully.

-h, --help
Display the help documentation for this command.

-o path, --out=path
Specifies an alternate path to place the .dSYM bundle. The
default dSYM bundle path is created by appending '.dSYM' to the
executable name.

--oso-prepend-path=path
Specifies a path to prepend to all debug map object file paths.

-s, --symtab
Dumps the symbol table found in executable or object file(s) and
exits.

-v, --version
Display the current version and build date of the dsymutil
binary.

--verbose
Display verbose information when linking.

SEE ALSO
dwarfdump(1)

Darwin November 13, 2007 Darwin

阅读(2297) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~