Search found 11 matches
- Mon Jun 14, 2010 11:46 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
Because the later versions of GNU Assembler added many new features and PearPC depends on some of those features, the version incompatibility is quite a hurdle to overcome to compile PearPC on OS X. It isn't un-do-able though not an easy task unless someone who is an expert on assembly syntaxes is i...
- Sat Jun 12, 2010 4:15 am
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
I have been busy and might will be for a week or more so I have done much since. However, the Apple's outdated fork of GNU assembler makes it almost impossible to compile the JIT version of PearPC correctly. Yasm's conversion feature doesn't help either in this case. I found no reference on how to u...
- Fri May 21, 2010 3:52 am
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
The problem is lying in the following (in src/cpu/cpu_jitc_x86/jitc_mms.S): ############## ## param1: 0 for read, 8 for write ## param2: data / code #define tlb_lookup(rw, datacode) \ mov %edx, %eax; \ mov %ecx, %eax; \ shr %edx, 12; \ and %ecx, 0xfffff000; \ and %edx, TLB_ENTRIES-1; \ push %ebx; \ ...
- Wed May 19, 2010 2:19 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
Hi, Somehow, #define gCPU(r) isn't working on OSX's assembler as the author intended. I assume that is because Apple has not updated GAS for a long while (version incompatibilities) When it is intended to return the address of the gCPU struct from C file, it only returns 0x00 and when the opcode tri...
- Mon May 17, 2010 11:03 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
it starts, selects boot disk and tries to load boot file then (it seems) after few codes in assembly file which is jitc part, it just dies with segfaults. ... getStartBlock: 0 Apple_HFS getStartBlock: 1 Apple_HFS getStartBlock: 2 Apple_HFS getStartBlock: 3 Apple_HFS getStartBlock: 4 Apple_HFS getSta...
- Mon May 17, 2010 7:45 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
- Mon May 17, 2010 6:14 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
gotten further and now I got: Making all in tools make[3]: Nothing to be done for `all'. g++ -arch i386 -m32 -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -mdynamic-no-pic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -L/usr/X11/lib -R/usr/X11/lib -o ppc main.o ppc_img...
- Mon May 17, 2010 5:58 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
I am not sure about the accuracy of my modification (which was real ugly hack) though I have finally got to the last linking stage but there is an error I am not beware of.. any idea? ... ... ... gcc -DHAVE_CONFIG_H -I. -I.. -arch i386 -m32 -Wundef -Wall -fsigned-char -O3 -fomit-frame-pointer -mdyna...
- Mon May 17, 2010 3:06 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
I do not really know but x86_32 seems not working. i386 working as said on many of the sites. It appears configure produced Makefile does not contain correct option to compile assembly files. It should contain -arch i386 otherwise the assembler works for 64 bit which is default. I have manually edit...
- Mon May 17, 2010 12:41 pm
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
- Mon May 17, 2010 9:52 am
- Forum: PearPC
- Topic: PearPC for OSX available
- Replies: 82
- Views: 250354
pseudo op error on JIT build compile could be worked around by substituting using with .align or .org instead of .struct in the define lines if I am correct. But it seems pearpc should be compiled as 32 bit code rather than 64 bit which is default on SL. however, i cannot make gcc to compile in 32 b...