Skip to Content.
Sympa Menu

freetds - Re: [freetds] Universal Binary for OS X?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ben Borofka <bborofka AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Universal Binary for OS X?
  • Date: Thu, 16 Feb 2006 00:21:00 -0800

Thanks for the reply. I'll compile on an Intel Mac and then use the lipo tool.

I wanted to use FreeTDS the proper way (integrated with my project),
but in the interest of time for the project, I was way overwhelmed
with the complexity of FreeTDS and database connectivity in general.
Once I found out that I could use tsql as a tool to connect to a
specific server, I just used a bunch of NSTasks to run the commands I
wanted within the Mac app. Sloppy and ugly, I know, but it's been
working fine since last May.

--
Ben

On 2/15/06, Daniel Fazekas <fdsubs AT t-online.hu> wrote:
>
> On Feb 16, 2006, at 6:36, Ben Borofka wrote:
>
> > I have a Cocoa app in OS X that uses tsql from FreeTDS as a helper
> > application. I'm trying to make this app fully Intel-Mac compatible,
> > as Apple calls it, "Universal". I've compiled FreeTDS from the
> > command-line fine, but it always compiles tsql as a PowerPC binary.
> > Does anyone know how to compile FreeTDS, or any command-line app as a
> > Universal Binary?
>
> Start by reading this:
> http://developer.apple.com/technotes/tn2005/tn2137.html
>
> The "Merging multiple builds" way should be the simplest, although
> not very convenient to repeatedly do it as it is hard to automate:
> http://developer.apple.com/technotes/tn2005/tn2137.html#TNTAG3
> You simply build it on both a PPC and an Intel Mac and then use the
> lipo tool to bundle the two together into one universal binary.
>
> It's also worth noting that tsql is intended as a diagnostic tool, to
> be used solely for testing that your freetds setup is working
> properly. It is not recommended to use it as a helper tool.
>
> --
> fds
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




Archive powered by MHonArc 2.6.24.

Top of Page