Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

GData.framework needs to actually be built 64-bit #30

Closed
GoogleCodeExporter opened this issue Apr 21, 2015 · 3 comments
Closed

GData.framework needs to actually be built 64-bit #30

GoogleCodeExporter opened this issue Apr 21, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Try to link to GData.framework with your "Universal" (32/64-bit) app.


What is the expected output? What do you see instead?

The app should be able to build

What version of the product are you using? On what operating system?

You'll see errors like this:

ld: warning: in (...)/GData.framework/GData, missing required architecture 
x86_64 in file

This is building on 10.6 but I think it will happen in 10.5 as well.


It looks like you want to set the architectures to the standard 32/64 bit 
universal:

ARCHS = $(ARCHS_STANDARD_32_64_BIT)


Since I see you are putting in 64-bit friendly data types like NSInteger, you 
will also need to set 
this, otherwise you get a build error

MACOSX_DEPLOYMENT_TARGET = 10.5



Original issue reported on code.google.com by dan94...@gmail.com on 23 Jun 2009 at 5:29

@GoogleCodeExporter
Copy link
Author

We'll look at making it 32/64 for the next release. Unfortunately, that may 
make the
project less suitable for building 10.4 apps, so we need to consider the 
tradeoffs.

Original comment by gregrobbins on 27 Jun 2009 at 2:47

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

So you need to be careful in how one does this.  On Calaboration we shipped a 
32/64 bit binary, and had it 
crash on lots of users.  For some reason a bunch of users have bad 64bit system 
libs.  Simple having them run a 
lipo version that removed 64bit was all happy.

Original comment by thoma...@gmail.com on 10 Jul 2009 at 8:05

@GoogleCodeExporter
Copy link
Author

Here is a patch for 64 bit
- fix some NSInteger and update project for compile framework for 32/64 bit.

Original comment by ma...@queensu.ca on 16 Nov 2010 at 3:25

Attachments:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants