XCode doesn't make data files
XCode doesn't make data files
- Subject: XCode doesn't make data files
- From: "D. Walsh" <email@hidden>
- Date: Sun, 25 Dec 2005 11:43:23 -0500
- Mta-interface: amavisd-new-2.3.3 (20050822) at daleenterprise.com
I have a project that uses data files however I can't seem to get
XCode to make the files properly.
It seems to prepend 244 bytes of data that makes the files unusable.
here's a sample of the data that is prepended, the actual code is
starting at 000000f4
mustangrestomods:/ root# hdump -vC test.out
00000000 fe ed fa ce 00 00 00 12 00 00 00 00 00 00 00 01
|................|
00000010 00 00 00 02 00 00 00 d8 00 00 20 00 00 00 00 01
|.......... .....|
00000020 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
|................|
00000030 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 f4
|................|
00000040 00 00 00 0a 00 00 00 07 00 00 00 07 00 00 00 02
|................|
00000050 00 00 00 00 5f 5f 74 65 78 74 00 00 00 00 00 00
|....__text......|
00000060 00 00 00 00 5f 5f 54 45 58 54 00 00 00 00 00 00
|....__TEXT......|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f4
|................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
00000090 00 00 00 00 00 00 00 00 5f 5f 64 61 74 61 00 00
|........__data..|
000000a0 00 00 00 00 00 00 00 00 5f 5f 44 41 54 41 00 00
|........__DATA..|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a
|................|
000000c0 00 00 00 f4 00 00 00 02 00 00 00 00 00 00 00 00
|................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02
|................|
000000e0 00 00 00 18 00 00 01 00 00 00 00 01 00 00 01 0c
|................|
000000f0 00 00 00 0c 01 02 03 04 05 06 07 08 09 0a 00 00
|................|
00000100 00 00 00 01 0f 02 00 00 00 00 00 00 00 00 00 00
|................|
I've even tried manually compiling the source with
gcc -c -pipe -o data.xdb data.c
and it gives the same results.
What's the trick?
-- Dale
_______________________________________________
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