• 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
Intel mach-o
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intel mach-o


  • Subject: Intel mach-o
  • From: Jeshua Lacock <email@hidden>
  • Date: Wed, 25 Jan 2006 00:02:40 -0700


Greetings all,

I am running into a problem building a mach-o on the new Intel. Currently "mach-o/ppc/reloc.h" is included and I noticed that there is not a "mach-o/386/reloc.h" header and in turn when I comment it out, I am getting the following errors.

#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/reloc.h>
/*#include <mach-o/ppc/reloc.h> */

test.c:90: error: 'PPC_RELOC_PAIR' undeclared (first use in this function)
test.c:90: error: (Each undeclared identifier is reported only once
test.c:90: error: for each function it appears in.)
test.c: In function 'test_name':
test.c:103: error: 'PPC_RELOC_BR24' undeclared (first use in this function)
test.c: In function 'gen_test':
test.c:202: error: 'struct relocation_info' has no member named 'r_offset'
test.c:203: error: 'struct relocation_info' has no member named 'r_offset'
test.c:215: error: 'struct relocation_info' has no member named 'r_offset'
test.c:220: error: 'struct relocation_info' has no member named 'r_offset'



Is there an equivalent 'PPC_RELOC_PAIR' and 'PPC_RELOC_BR24' for Intel? Or do you use the ppc header on Intel?


Any help or advice is greatly appreciated.


Thanks,

Jeshua Lacock ___________________________
Programmer/Owner		Phone:	877.240.1364
http://OpenOSX.com		Fax:		415.462.6211
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

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


  • Follow-Ups:
    • Re: Intel mach-o
      • From: Eric Albert <email@hidden>
  • Prev by Date: Re: Obtaining an IOSCSIMultimediaCommandsDevice instance
  • Next by Date: Re: Intel mach-o
  • Previous by thread: Re: Obtaining an IOSCSIMultimediaCommandsDevice instance
  • Next by thread: Re: Intel mach-o
  • Index(es):
    • Date
    • Thread