Cocoa and MySQL, compiling for intel and ppc
Cocoa and MySQL, compiling for intel and ppc
- Subject: Cocoa and MySQL, compiling for intel and ppc
- From: Michael de Vries <email@hidden>
- Date: Thu, 1 Mar 2007 09:02:17 +0100
I searched the archive of this list, but could not find what I was
looking for. I am trying to make an application which interacts with
a MySQL database.
For this, I do not use a framework, but use the C api directly and
this goes well except for one thing.
At the top of my own DatabaseConnection.h file I import the MySQL
header file like this:
#import "/usr/local/mysql/include/mysql.h"
The problem with this is that I am using a Intel Mac, so the header
file is compiled for i386 and not for ppc.
So the problem is me wanting to make a ppc version of the program as
well.
Is there an other method I should use (except using the mysql-cocoa
framework or odbc) to connect o the database, some other file I
should import or a different way of import?
Tnx in advance,
Michael de Vries
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden