海豹突破豹(OSX) [英] GCC Broken on Leopard (OSX)

查看:110
本文介绍了海豹突破豹(OSX)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Mac OSX Leopard并重新安装Dev Tools后,我无法编译C程序。海湾合作委员会在那里,但它找不到一个

库。我现在正在运行10.5.1。


也许有一个简单的解决方案。


这里有一些关于它的信息:


笔记本电脑:桌面imok $ gcc hello.c

ld:找不到-lcrt1.10.5.o的库

collect2:ld返回1退出状态

所有帮助表示赞赏。谢谢。

After upgrading to Mac OSX Leopard, and reinstalling the Dev Tools, I
am unable to compile C programs. GCC is there, but it can''t find a
library. I''m currently running 10.5.1.

Perhaps there''s a simple solution.

Here''s some info on it:

laptop:Desktop imok$ gcc hello.c
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
All help is appreciated. Thank you.

推荐答案

gcc hello.c

ld:找不到-lcrt1.10.5.o的库

collect2:ld返回1退出状态

所有帮助表示赞赏。谢谢。
gcc hello.c
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
All help is appreciated. Thank you.


文章< 74 *************************** *******@c4g2000hsg.g ooglegroups.com>,

Imok20< Im **** @ gmail.comwrote:
In article <74**********************************@c4g2000hsg.g ooglegroups.com>,
Imok20 <Im****@gmail.comwrote:

>升级到Mac OSX Leopard并重新安装Dev Tools后,我无法编译C程序。海湾合作委员会在那里,但它找不到一个
库。我目前正在运行10.5.1。
>After upgrading to Mac OSX Leopard, and reinstalling the Dev Tools, I
am unable to compile C programs. GCC is there, but it can''t find a
library. I''m currently running 10.5.1.



工具的问题超出了C语言的范围,因此在b.comp.c中是非主题的。 >

Problems with tools are beyond the scope of the C language and
therefore off-topic in comp.lang.c.


>感谢所有帮助。谢谢。
>All help is appreciated. Thank you.



您可能更有可能在以下一项或多项中获得有用的帮助:

comp.sys.mac.programmer.tools

comp.sys.mac.programmer.help

comp.sys.mac.programmer.misc

comp.sys.mac.misc
dave


-

爱斯基摩网上的Dave Vandervies dj3vande com

尴尬地,我想了一下我实际上并没有用餐,而是意识到这是'我称之为

归档系统的正确名称。 - 在可怕的魔鬼修道院中彼得

You might be more likely to get useful help in one or more of:
comp.sys.mac.programmer.tools
comp.sys.mac.programmer.help
comp.sys.mac.programmer.misc
comp.sys.mac.misc
dave

--
Dave Vandervies dj3vande at eskimo dot com
Embarassingly, I thought for a moment I didn''t actually have a dining
table but then realised that''s the proper name for what I call a
filing system. --Peter in the scary devil monastery


Imok20写道:
Imok20 wrote:

升级到Mac OSX Leopard后,重新安装Dev Tools,我无法编译C程序。海湾合作委员会在那里,但它找不到一个

库。我目前正在运行10.5.1。
After upgrading to Mac OSX Leopard, and reinstalling the Dev Tools, I
am unable to compile C programs. GCC is there, but it can''t find a
library. I''m currently running 10.5.1.



MacOS组更合适,这是一个工具/操作系统问题。


-

Ian Collins。

A MacOS group would be more appropriate, this is a tool/OS problem.

--
Ian Collins.


这篇关于海豹突破豹(OSX)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆