• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.


  • Subject: Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
  • From: Gerben Wierda <email@hidden>
  • Date: Fri, 1 Jul 2005 14:10:31 +0200

Tnen the question becomes: how do I get gcc 2 on my system in combo with Xcode 2.1? Because I have code that won't compile with gcc3 and higher and which I should not change.

G

On 1 Jul 2005, at 10:53, Bob Ippolito wrote:

I don't think gcc2 is even included anymore with Xcode 2.1, you probably have it left over from some old Developer Tools install, which would explain why it's broken.

-bob

On Jun 30, 2005, at 7:52 PM, Gerben Wierda wrote:


I haven't seen my own post so I am trying again. Apologies is this is a double.

When I try to compile a standard hello world



#include <stdio.h>

main()
{
    printf( "Hello, world!\n");
}



with gcc2, I get

$ gcc2 -o test test.c
cpp: specs=/usr/libexec/gcc/darwin/ppc/2.95.2/specs: No such file or directory
$ ll /usr/libexec/gcc/darwin/ppc/2.95.2/specs
-r--r--r-- 1 wheel 5230 Feb 18 2004 /usr/libexec/gcc/darwin/ ppc/2.95.2/specs


It seems to be there but gcc complains. Can someone confirm for me this is indeed happening on their 10.4.1/Xcode 2.1 ssystem?

$ gcc-3.3 -o test test.c

works fine.

Thanks,


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden






_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
      • From: Brian Bergstrand <email@hidden>
    • Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
      • From: glenn andreas <email@hidden>
References: 
 >Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request. (From: Bob Ippolito <email@hidden>)

  • Prev by Date: Floating panel visibility
  • Next by Date: Re: Enable Buttons
  • Previous by thread: Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
  • Next by thread: Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
  • Index(es):
    • Date
    • Thread