Geoffroy Couprie a écrit :
> Pedro Alves a écrit :
>> On Friday 15 May 2009 01:24:54, Geoffroy Couprie wrote:
>>
>>> Hello!
>>>
>>> Here is a small patch to allow cross-compiling of CeGCC. I run
>>> "build-mingw32ce.sh --host=i586-mingw32msvc" from Linux to build a
>>> CeGCC
>>> usable on Windows (I use it under MSYS).
>>>
>>
>> Applied, thanks.
>>
>>
> Thanks!
>>> gcc, g++, objdump, strings, strip look like they work without
>>> problem, but I
>>> encountered a strange problem with ar and ranlib: if I do "ar cru
>>> x.a y.o
>>> z.o" and then "ranlib x.a" I get "arm-mingw32ce-ranlib: file format not
>>> recognized". Any idea about this bug?
>>>
>>
>> Dunno. First, to be sure we're running the correct executables, use the
>> prefixed ones (arm-mingw32ce-ranlib|ar). What does
>> arm-mingw32ce-objdump -x say
>> on the object and on the archive?
>>
>>
> Yes, I'm using the prefixed ones. arm-mingw32ce-objdump -x says "File
> format not recognized"
>
Here is the output of arm-mingw32ce-objdump -x on framing.o (a part of
libogg). The "File format not recognized" message apperas for
arm-mingw32ce-objdump -x libogg.a
framing.o: file format pe-arm-wince-little
framing.o
architecture: armv4, flags 0x00000039:
HAS_RELOC, HAS_DEBUG, HAS_SYMS, HAS_LOCALS
start address 0x00000000
Characteristics 0x4504
line numbers stripped
32 bit words
Time/Date Thu Jan 01 01:00:00 1970
Magic 0000
MajorLinkerVersion 0
MinorLinkerVersion 0
SizeOfCode 00000000
SizeOfInitializedData 00000000
SizeOfUninitializedData 00000000
AddressOfEntryPoint 00000000
BaseOfCode 00000000
BaseOfData 00000000
ImageBase 00000000
SectionAlignment 00000000
FileAlignment 00000000
MajorOSystemVersion 0
MinorOSystemVersion 0
MajorImageVersion 0
MinorImageVersion 0
MajorSubsystemVersion 0
MinorSubsystemVersion 0
Win32Version 00000000
SizeOfImage 00000000
SizeOfHeaders 00000000
CheckSum 00000000
Subsystem 00000000 (unspecified)
DllCharacteristics 00000000
SizeOfStackReserve 00000000
SizeOfStackCommit 00000000
SizeOfHeapReserve 00000000
SizeOfHeapCommit 00000000
LoaderFlags 00000000
NumberOfRvaAndSizes 00000000
The Data Directory
Entry 0 00000000 00000000 Export Directory [.edata (or where ever we
found it)]
Entry 1 00000000 00000000 Import Directory [parts of .idata]
Entry 2 00000000 00000000 Resource Directory [.rsrc]
Entry 3 00000000 00000000 Exception Directory [.pdata]
Entry 4 00000000 00000000 Security Directory
Entry 5 00000000 00000000 Base Relocation Directory [.reloc]
Entry 6 00000000 00000000 Debug Directory
Entry 7 00000000 00000000 Description Directory
Entry 8 00000000 00000000 Special Directory
Entry 9 00000000 00000000 Thread Storage Directory [.tls]
Entry a 00000000 00000000 Load Configuration Directory
Entry b 00000000 00000000 Bound Import Directory
Entry c 00000000 00000000 Import Address Table Directory
Entry d 00000000 00000000 Delay Import Directory
Entry e 00000000 00000000 CLR Runtime Header
Entry f 00000000 00000000 Reserved
private flags = 820: [APCS-32] [floats passed in integer registers]
[absolute position] [interworking not supported]
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 000016a8 00000000 00000000 000000b4 2**2
CONTENTS, ALLOC, LOAD, RELOC, CODE
1 .data 00000000 00000000 00000000 00000000 2**2
ALLOC, LOAD, DATA
2 .bss 00000000 00000000 00000000 00000000 2**2
ALLOC
3 .rdata 00000408 00000000 00000000 0000175c 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
SYMBOL TABLE:
[ 0](sec -2)(fl 0x00)(ty 0)(scl 103) (nx 1) 0x00000000 framing.c
File
[ 2](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 1) 0x00000000 ogg_page_version
AUX tagndx 0 ttlsiz 0x0 lnnos 0 next 0
[ 4](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000000c ogg_page_continued
[ 5](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000001c ogg_page_bos
[ 6](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000002c ogg_page_eos
[ 7](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000003c
ogg_page_granulepos
[ 8](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000118 ogg_page_serialno
[ 9](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000140 ogg_page_pageno
[ 10](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000168 ogg_page_packets
[ 11](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000001a8
ogg_page_checksum_set
[ 12](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 0) 0x00000008 crc_lookup
[ 13](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000284 ogg_stream_eos
[ 14](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000028c ogg_sync_wrote
[ 15](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000002ac ogg_sync_reset
[ 16](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000002cc ogg_stream_reset
[ 17](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000318
ogg_stream_packetout
[ 18](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000434 ogg_packet_clear
[ 19](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000474 ogg_sync_init
[ 20](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000004ac ogg_stream_clear
[ 21](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000004f4 ogg_sync_buffer
[ 22](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000590 ogg_stream_init
[ 23](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000005f4
ogg_stream_reset_serialno
[ 24](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000644 ogg_sync_clear
[ 25](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000068c ogg_stream_pagein
[ 26](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000bac
ogg_stream_packetin
[ 27](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000d9c ogg_sync_destroy
[ 28](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000dec
ogg_stream_packetpeek
[ 29](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000ed0 ogg_stream_destroy
[ 30](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000f20 ogg_sync_pageseek
[ 31](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00001178 ogg_sync_pageout
[ 32](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x000011c0 ogg_stream_flush
[ 33](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000164c ogg_stream_pageout
[ 34](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .text
AUX scnlen 0x16a8 nreloc 47 nlnno 0
[ 36](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .data
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 38](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .bss
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 40](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rdata
AUX scnlen 0x408 nreloc 0 nlnno 0
[ 42](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 realloc
[ 43](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 malloc
[ 44](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 memcmp
[ 45](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 memchr
[ 46](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 memmove
[ 47](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 memcpy
[ 48](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 free
[ 49](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 memset
RELOCATION RECORDS FOR [.text]:
OFFSET TYPE VALUE
00000280 ARM_32 .rdata
00000440 ARM_26 free
000004c0 ARM_26 free
000004cc ARM_26 free
000004d8 ARM_26 free
000004e8 ARM_26 memset
0000052c ARM_26 memmove
00000564 ARM_26 realloc
00000584 ARM_26 malloc
000005ac ARM_26 memset
000005b8 ARM_26 malloc
000005cc ARM_26 malloc
000005dc ARM_26 malloc
00000658 ARM_26 free
00000788 ARM_26 memmove
000007a0 ARM_26 memmove
000007f4 ARM_26 memmove
00000904 ARM_26 memcpy
00000b64 ARM_26 realloc
00000b78 ARM_26 realloc
00000b94 ARM_26 realloc
00000c3c ARM_26 memcpy
00000d34 ARM_26 realloc
00000d48 ARM_26 realloc
00000d64 ARM_26 realloc
00000d78 ARM_26 memmove
00000db0 ARM_26 free
00000de0 ARM_26 free
00000ee4 ARM_26 free
00000ef0 ARM_26 free
00000efc ARM_26 free
00000f0c ARM_26 memset
00000f14 ARM_26 free
00000f74 ARM_26 memcmp
00000ff0 ARM_26 memcpy
000010c0 ARM_26 memcmp
0000112c ARM_26 memcpy
0000114c ARM_26 memchr
00001170 ARM_32 .rdata
00001174 ARM_32 .rdata
0000118c ARM_26D ogg_sync_pageseek+0xfffff0e0
00001274 ARM_26 memcpy
0000148c ARM_26 memmove
000014a4 ARM_26 memmove
00001644 ARM_32 .rdata
00001648 ARM_32 .rdata
00001668 ARM_26D ogg_stream_flush+0xffffee40
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel