Re: how can I back down to Xcode 2.2.1, gcc 4.0.0?
Re: how can I back down to Xcode 2.2.1, gcc 4.0.0?
- Subject: Re: how can I back down to Xcode 2.2.1, gcc 4.0.0?
- From: Niels Meersschaert <email@hidden>
- Date: Mon, 5 Jun 2006 13:10:55 -0400
Check your release build configuration for your project and any
dependent projects. I had noticed that it reverted my 386 & PPC
architecture in my release build to just PPC after the update. Since
you're seeing limited 386 code, I expect a dependency isn't running
386 as expected. You can confirm that also by looking at the build
process. You should see every file run twice once for PPC & once for
386. If any files are missing, check your config in the project
where those files live (for dependencies). You might also want to
check the new clean dependencies box when you clean the project in
case that could be contributing to your issues.
On Jun 3, 2006, at 9:31 PM, Steve Christensen wrote:
On Jun 3, 2006, at 5:14 PM, Shawn Erickson wrote:
On Jun 3, 2006, at 4:21 PM, Steve Christensen wrote:
I have been having so many problems since upgrading to Xcode 2.3
and gcc 4.0.1 that I just want to go back to Xcode 2.2.1 and gcc
4.0.0. Universal projects that previously built and ran on both
architectures with the older tools only run on PPC. The i386
image in the UB binary is about 4K in size and apparently doesn't
contain anything resembling code.
Also, no hints have been forthcoming from the Xcode mailing list
so I don't know what to do to try to fix things. All I know is
that I have to get software finished and out the door.
In trying to back down to Xcode 2.2.1, etc., I have run the Xcode
2.3 uninstall script, restarted, then run the Xcode 2.2.1
installer, restarted. I rebuild my projects and I end up in the
same place as with 2.3. I've even tried running the Xcode 2.2.1
gcc installer standalone to see if that helps but nothing
changes. I'm really hoping that I don't have to reinstall the OS
so all the other stuff gets wiped and then get back to a known
state.
My move from CodeWarrior to Xcode has been an entirely
frustrating process at every step of the way. Every little
setting has to be exactly perfect or nothing works as expected.
Plus, doing what should be a simple tool upgrade throws
everything up in the air again, just when I thought I had
everything at least somewhat settled.
I don't think I'm doing anything fancy. I just want a set of
Universal, dead-code stripped, symbol stripped executables. I
don't think that's really what you'd call off-roading. Can
somebody, perhaps even at Apple, help me out?
I think we will need more information. I have hit no issues
switching several projects (some rather large) from Xcode 2.2.1 to
2.3 and on several different developer systems (including
switching some over to DWARF).
I didn't think I had either since, after installing Xcode 2.3 and
doing a full, clean rebuild, everything was working fine on my PPC
development machine. It was only when I copied the binaries over to
my Intel MacBook that I found they wouldn't load. Running "nm -a -
arch all ..." would dump out all the global symbols for the PPC
part and "nm: no name list" for the i386 part. I also ran nm on the
pre-stripped, pre-combined per-architecture objects and they both
showed a ton of symbols for methods, data, etc.
Further examination showed that the Intel image within the
Universal binary was typically 4100 bytes, and "lipo -
detailed_info ..." prints out the following:
fat_magic 0xcafebabe
nfat_arch 2
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 4096
size 4100
align 2^12 (4096)
architecture ppc
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 16384
size 146628
align 2^14 (16384)
Are you sure that something in your code didn't change around the
same time as the switch to 2.3? ...maybe a wrongly placed #ifdef
that is engaged when building for Intel?
No. The code has been relatively unchanged for awhile now, and in
any case, there are almost no architecture-specific bits of code
that could get turned on/off conditionally.
steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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