failed to compile for universal binary?
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