• 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: How to convert project from PPC to Universal Binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert project from PPC to Universal Binary?


  • Subject: Re: How to convert project from PPC to Universal Binary?
  • From: Alan Snyder <email@hidden>
  • Date: Fri, 30 Oct 2009 17:21:53 -0700

snip.
>
> You should try to get the original code to compile. Does GCC 4.x really not
> accept pre-ANSI C syntax?

 I don't know, but I did get access PowerPC based OS-X 10.4 which has gcc 3.3 as
 the default, and was similar to the original build system.

 I'll try Jason's suggestion, later.

> If so, you could find a system with 10.4 and use
> Xcode 3.3 targeted for x86 to produce a static library, which you could then
> copy over and link in.
>

I tried compiling it as per the original documentation but with the
default gcc setting
and two lines with calls to

 strcpy_s, and sprintf_s

 produce errors like

  .... error:  'strcpy_s' undeclared (first use this function).

 the thing is the code has

#include <ctype.h>

above it.  I'm hoping this is something straight forward like needing
a flag on the gcc
compile statement.  I've not done gcc since about 2003, and it event
then it was on
Linux. Does anyone know a straightforward change to the compiler
setting (not code)
for this?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to convert project from PPC to Universal Binary?
      • From: David Dunham <email@hidden>
References: 
 >How to convert project from PPC to Universal Binary? (From: Alan Snyder <email@hidden>)
 >Re: How to convert project from PPC to Universal Binary? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to convert project from PPC to Universal Binary?
  • Next by Date: Re: How to convert project from PPC to Universal Binary?
  • Previous by thread: Re: How to convert project from PPC to Universal Binary?
  • Next by thread: Re: How to convert project from PPC to Universal Binary?
  • Index(es):
    • Date
    • Thread