|
Joined: Mar 2001
Posts: 17,261 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,261 Likes: 267 |
Even better:
find . -type f -not -name uismall.png -exec sed -ie 's/.$//' {} \;
...works on everything. The results should build fine on Intel. Please note that if you are having trouble and patching failed for you earlier you must delete everything and start over. One way to avoid having to do that is to add the --dry-run flag to patch - it will run and show errors (if any) but not modify any files. If it succeeds you can then run without that flag.
Last edited by R. Belmont; 01/16/10 06:54 PM.
|
|
|
|
Joined: Sep 2006
Posts: 200
Senior Member
|
Senior Member
Joined: Sep 2006
Posts: 200 |
Hm....
For me, appears this error during compilation:
Compiling src/emu/video/9927tms9927.c... cc1plus: warnings being treated as errors src/emu/video/tms9927.c: In function 'void generic_access(const device_config*, offs_t)': src/emu/video/tms9927.c:142: error: array subscript is above array bounds src/emu/video/tms9927.c:149: error: array subscript is above array bounds src/emu/video/tms9927.c:149: error: array subscript is above array bounds src/emu/video/tms9927.c:149: error: array subscript is above array bounds src/emu/video/tms9927.c:149: error: array subscript is above array bounds src/emu/video/tms9927.c:149: error: array subscript is above array bounds make: *** [obj/sdl/mame/emu/video/tms9927.o] Error 1
I'm using Slackware Linux 13.0....
|
|
|
|
Joined: Mar 2001
Posts: 17,261 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,261 Likes: 267 |
CP: Your GCC is broken. There is no possbility of out-of-bounds access on those lines.
|
|
|
|
Joined: Sep 2000
Posts: 481 Likes: 2
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 481 Likes: 2 |
@Arbee -
Is it safe to assume that the endings.zip utility on your WIP page has been modified, and along with the other change you posted at the top of this thread, it's now safe to compile (at least on a PPC running 10.5.8)?
The following statement is true... The preceding statement is false.
|
|
|
|
Joined: Mar 2001
Posts: 17,261 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,261 Likes: 267 |
In case people aren't checking back to the first post of the thread (and I can't blame you), two updates:
1) PowerPC cannot be built with u1 due to some missing changes. I have posted an experimental source overlay on my page (which also includes the dsp56k fix for Intel OS X) which permitted compiling on my dual G5 tower. Remember to make BIGENDIAN=1 still.
2) To build Intel OS X, edit src/emu/cpu/dsp56k/dsp56k.c. Go to line 35 (should be blank with an #include on the next line). Add #undef L_SET and save.
Last edited by R. Belmont; 01/16/10 07:16 PM.
|
|
|
|
Joined: Sep 2000
Posts: 481 Likes: 2
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 481 Likes: 2 |
Ah...
Well that answers that then...
The following statement is true... The preceding statement is false.
|
|
|
|
Joined: Mar 2001
Posts: 17,261 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,261 Likes: 267 |
With the updated pieces (including ppcfix.zip) I've built working versions on Fedora 12 (x64), Mac OS X 10.5.8 (PPC), and Mac OS X 10.6.2 (Intel 32-bit) by following my own directions from scratch.
|
|
|
|
Joined: Apr 2004
Posts: 1,563 Likes: 12
Very Senior Member
|
Very Senior Member
Joined: Apr 2004
Posts: 1,563 Likes: 12 |
I'm getting this error:
Compiling src/mame/audio/snes.c...
src/mame/audio/snes.c:1369: internal compiler error: in loc_descriptor, at dwarf2out.c:9664
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
Xcode 3.2.1
|
|
|
|
Joined: May 1999
Posts: 619 Likes: 1
Senior Member
|
Senior Member
Joined: May 1999
Posts: 619 Likes: 1 |
Line endings change works now, but it leaves the original files with an 'e' added to the name of the file. Is that supposed to happen?
Patching also works without any failed hunks now, but I'm still getting the compilation error in dsp56k. (edit: works now per RB's instructions above).
Last edited by Carbon; 01/16/10 07:36 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,261 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,261 Likes: 267 |
judge: I don't see it on either PPC or Intel, both with the latest available Xcode updates (via the Software Update thingy). You'll need to either tweek the source to not do it or file a RADAR bug with Apple.
Carbon: one earlier version I posted did that, the current endings posted should fix that issue. Please fix dsp56k.c according to the instructions already posted on this thread.
|
|
|
1 members (Lord Nightmare),
121
guests, and
4
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,363
Posts122,479
Members5,082
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|