• 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
Re: Building universal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building universal


  • Subject: Re: Building universal
  • From: Shyam Sundar <email@hidden>
  • Date: Fri, 10 Mar 2006 01:12:44 +0000 (GMT)

Hi Justin,
Specifying "ppc" in the architecure feild should work. The complete information is available at
http://developer.apple.com/technotes/tn2006/tn2163.html
 
-Shyam

"Justin C. Walker" <email@hidden> wrote:
Hi, all,

I have a problem building on both a Core Duo and PowerPC (G5) machine
(Xcode 2.2.1, with a doc update). If I try to build a universal
binary, with 'ppc64' as one of the architectures, the link phase
fails (link line pasted below). The same configuration works on
PowerPC.

This appears to be treating a file name as a symbol, but an 'nm' of
the .o, and a check of the .c, turns up nothing that looks like that.

Clues for the clueless?

Thanks for the help.

Regards,

Justin

Checking Dependencies
Ld /SandBox/Justin/sb/JCWCode/build/JCWCode.build/Development/
kdisp.build/Objects-normal/ppc64/kdisp normal ppc64
cd /SandBox/Justin/sb/JCWCode
/usr/bin/gcc-4.0 -o /SandBox/Justin/sb/JCWCode/build/
JCWCode.build/Development/kdisp.build/Objects-normal/ppc64/kdisp -L/
SandBox/Justin/sb/JCWCode/build/Development -F/SandBox/Justin/sb/
JCWCode/build/Development -filelist /SandBox/Justin/sb/JCWCode/build/
JCWCode.build/Development/kdisp.build/Objects-normal/ppc64/
kdisp.LinkFileList -arch ppc64 -mmacosx-version-min=10.4 -isysroot /
Developer/SDKs/MacOSX10.4u.sdk
can't resolve symbols:
/SandBox/Justin/sb/JCWCode/, referenced from:
_main in kdisp.o
ld64 failed: symbol(s) not found
collect2: ld returned 1 exit status

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out o! f things
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Building universal
      • From: "Justin C. Walker" <email@hidden>
References: 
 >Building universal (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Building universal
  • Next by Date: Re: Building universal
  • Previous by thread: Building universal
  • Next by thread: Re: Building universal
  • Index(es):
    • Date
    • Thread