473,466 Members | 1,382 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

GCC Broken on Leopard (OSX)

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.
Jan 19 '08 #1
11 2215
In article <74**********************************@c4g2000hsg.g ooglegroups.com>,
Imok20 <Im****@gmail.comwrote:
>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.
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.
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
Jan 19 '08 #2
Imok20 wrote:
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.
A MacOS group would be more appropriate, this is a tool/OS problem.

--
Ian Collins.
Jan 19 '08 #3
On Sat, 19 Jan 2008 16:46:32 -0600, Imok20 wrote
(in article
<74**********************************@c4g2000hsg.g ooglegroups.com>):
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.
I am using gcc on 10.5.1 and it works as expected. I have no obvious
guesses about where you might have gone wrong, but I'm fairly convinced
that your subject line his highly misleading.

--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Jan 19 '08 #4
In article <74**********************************@c4g2000hsg.g ooglegroups.com>,
Imok20 <Im****@gmail.comwrote:
>laptop:Desktop imok$ gcc hello.c
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
On my system, that file is in /usr/lib/crt1.10.5.o. See if you have that
file, or something that looks like an older version of it.

-- Richard
--
:wq
Jan 20 '08 #5
On 19 Jan 2008 at 22:46, Imok20 wrote:
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.
Unfortunately, it is not permitted in this group to make any negative
comments about gcc.

On the other hand, you can attack lcc-win with all the fury you can
muster, and the regulars will lap it up.

Jan 20 '08 #6
In article <sl*******************@nospam.invalid>,
Antoninus Twink <no****@nospam.invalidwrote:
>On 19 Jan 2008 at 22:46, Imok20 wrote:
>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.

Unfortunately, it is not permitted in this group to make any negative
comments about gcc.

On the other hand, you can attack lcc-win with all the fury you can
muster, and the regulars will lap it up.
Quite so.
Just like the Bush admin, it's all about politics. Who's in with who.

Jan 21 '08 #7
Antoninus Twink <no****@nospam.invalidwrote:
On 19 Jan 2008 at 22:46, Imok20 wrote:
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.

Unfortunately, it is not permitted in this group to make any negative
comments about gcc.
This is news to me. Stick around longer.
On the other hand, you can attack lcc-win with all the fury you can
muster, and the regulars will lap it up.
Difference being, GCC+glibc is [arguably] much more diligent about sticking
to the standard. Case in point, lcc-win's gratuitous MIN/MAX macro
definitions discussed a week or three ago.

Plus, Jacob defends and responds to criticisms. GCC criticisms disappear
into the void, whereas lcc-win criticisms, for better or worse, reverberate.

If you're interested in GCC criticisms, subscribe to an OpenBSD
mailing-list. Theo & Company are happy to use language extensions; their
beef is with other areas of GCC. Consequently, you'll find more GCC rants,
though since nobody defends GCC those threads peter out almost as quickly as
they do here.

It takes two to have a discussion or argument. It's rare that people will
post follow-ups to themselves or others affirming the same thought. That's
what blogs are for.

Jan 21 '08 #8
On Mon, 21 Jan 2008 00:15:49 -0600, William Ahern wrote
(in article <lt************@wilbur.25thandClement.com>):
It takes two to have a discussion or argument. It's rare that people will
post follow-ups to themselves or others affirming the same thought. That's
what blogs are for.
All this time I've been wondering what purpose blogs have, thanks for
finally giving a good answer.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Jan 21 '08 #9
William Ahern said:
Antoninus Twink <no****@nospam.invalidwrote:
>On 19 Jan 2008 at 22:46, Imok20 wrote:
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.

Unfortunately, it is not permitted in this group to make any negative
comments about gcc.

This is news to me.
Strictly speaking, review comments about *any* implementation are
off-topic, but in practice implementations are sometimes criticised here,
and negative comments made about them. I myself have made negative
comments about gcc in this group, and so have others.
<snip>

It takes two to have a discussion or argument.
Something that is all too easily forgotten.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jan 21 '08 #10
Antoninus Twink wrote:
On 19 Jan 2008 at 22:46, Imok20 wrote:
>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.

Unfortunately, it is not permitted in this group to make any negative
comments about gcc.
A career in comedy is yours.

--
Hilarity Hedgehog
The shortcuts are all full of people using them.

Jan 21 '08 #11
William Ahern wrote:
Antoninus Twink <no****@nospam.invalidwrote:
>Imok20 wrote:
>>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.

Unfortunately, it is not permitted in this group to make any
negative comments about gcc.

This is news to me. Stick around longer.
You are feeding the notorious troll, Twink.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

--
Posted via a free Usenet account from http://www.teranews.com

Jan 22 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nigel King | last post by:
I have a problem with the logging module. It reports a Broken Pipe error after outputing to the log file occasionally (5%). This does not appear to happen on Mac OSX using current finked python...
7
by: duckfreezone | last post by:
Hi, I've got a small test program which behaves correctly (IMHO) on all compilers that I have acccess to, with the exception of the gcc on Macintosh OSX "gcc version 4.0.0 (Apple Computer, Inc....
1
by: Chris | last post by:
Are others having fundamental issues on OSX 10.5 with python 2.5.1? I was excited that Python 2.5 was included, but this excitement was very short lived. Almost nothing works. Upon startup I get...
4
by: mark | last post by:
I've recently switched from Ubuntu to OS X Leopard. I have some python scripts which download info from the web. The scripts were working fine before on Ubuntu, but urllib seems to work really...
2
by: arbo.newmedia | last post by:
Hi, can anyone help me with MySQL. I've got Mac OSX Leopard and I'm trying to install MySQLdb for Python. I'm running build and it goes withous any errors and install. But when I'm typing...
7
by: Mark Carter | last post by:
One thing I really liked about Ubuntu was that Nautilus allowed you to add scripts to a directory which could be accessed via the RMB. It was a very simple thing to do. I've recently switched to...
3
by: Gordon | last post by:
Has anybody had any success compiling a PHP build for Leopard, specifically for Leopard running on a 64 bit Intel architecture? I have been using the Entropy builds up to now but there has been a...
3
by: squishywaffle | last post by:
Greetings, I've been trying to figure out if it's possible to attach a Python script to an action via Mac OSX Leopard's File Actions system. I'm wanting to call a Python script every time a file...
6
by: Massi | last post by:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard 10.5.5), but I'm encountering some problems. To install the package I followed the instructions I found at this link:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.