• 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
Using Zlib for i386 code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Zlib for i386 code


  • Subject: Using Zlib for i386 code
  • From: David Chan <email@hidden>
  • Date: Thu, 9 Feb 2006 17:12:47 +0800

Hi all,

Sometimes ago I emailed asking about decompressing file and I was told
to use zlib. I have used it successfully so far for my project. But
there is problem when I try to compile my project for intel-based
machine. fyi, I am working on powerpc at the moment, using xcode 2.2,
and the project itself is mainly using objective-c language. I need to
compile this project to be universal-binary-enabled as the clients
machine require so.

When I set the architecture to both intel and ppc, I stumble into
errors where zlib's functions such as inflate, inflateEnd, etc.. get
Undefined Symbol error message.

So the command line such as:

int err=inflateInit_(&m_ZRec, zlib_version, sizeof (m_ZRec));

which would cause no error when compiling for ppc, is know becoming an
error. This command line is written in an objective c class that
already include zlib.h.  I wonder what could the problem be. Thanks in
advance for the pointers on this problem.

Regards
David
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: .pch not working in XCode 2.2?
  • Next by Date: Re: Core Data and @count keypath
  • Previous by thread: NSTreeController problems
  • Next by thread: Re: Using Zlib for i386 code
  • Index(es):
    • Date
    • Thread