Re: How to convert project from PPC to Universal Binary?
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