• 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
failed to compile for universal binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failed to compile for universal binary?


  • Subject: failed to compile for universal binary?
  • From: "谢纲" <email@hidden>
  • Date: Sun, 18 Dec 2005 13:09:33 +0800

hi all!

I try to compile my program for universal binary on my emac.The compiling infomation is:

emac08deemac:~/Desktop emac08$ gcc -arch ppc -arch i386  main.c -o bo
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccaypHyL.out (No such file or directory)

My OS version is 10.4.1. But I compiled it on the intel-based mac successfully,I don't know why?


 _______________________________________________
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: failed to compile for universal binary?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: bundling dylibs in frameworks
  • Next by Date: Re: failed to compile for universal binary?
  • Previous by thread: bundling dylibs in frameworks
  • Next by thread: Re: failed to compile for universal binary?
  • Index(es):
    • Date
    • Thread