Previous Thread
Next Thread
Print Thread
Page 1 of 3 1 2 3
0.145u7 does NOT compile on PowerPC OS X #78654 04/22/12 03:59 PM
Joined: Mar 2001
Posts: 16,439
R
R. Belmont Online Content OP
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,439
I am trying to fix it, but the core may be too far into advanced C++ features for the old GCC 4.0.1 compiler to handle.

OS X Intel is fine.

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78697 04/24/12 01:06 AM
Joined: Jan 2007
Posts: 206
M
MacBox360 Offline
Senior Member
Offline
Senior Member
M
Joined: Jan 2007
Posts: 206
I confirm that. This time the bad beasts seems to be nycaptor.c and rendersw.c
With NOWERR=1 option I am been able to skip the "nycaptor.c" error but went stuck at "rendersw.c" part.
I cross my fingers hoping the bugs will be ironed out... :-)

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78698 04/24/12 02:41 AM
Joined: Mar 2001
Posts: 16,439
R
R. Belmont Online Content OP
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,439
Yeah, nycaptor's already fixed. rendersw looks much harder frown

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78738 04/29/12 10:42 PM
Joined: Mar 2001
Posts: 16,439
R
R. Belmont Online Content OP
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,439
Good news, I found the problem and u8 will again compile on PPC OS X, with the usual tms57002 workaround required.

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78741 04/30/12 06:44 PM
Joined: Jan 2007
Posts: 206
M
MacBox360 Offline
Senior Member
Offline
Senior Member
M
Joined: Jan 2007
Posts: 206
GREAT news! :-) Compliments, really... uhm... am I the only MAME-addicted PPC Mac user left? I hope the other users will take a moment for dropping a line here and say a big THANK YOU to this man for his efforts in supporting our little community! ;-)

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78789 05/04/12 12:55 AM
Joined: Jun 2007
Posts: 223
B
billb Offline
Senior Member
Offline
Senior Member
B
Joined: Jun 2007
Posts: 223
Haven't tried building on PS3 Linux lately (also PPC) but may give it a shot this weekend. Thanks RB! smile

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78790 05/04/12 02:12 AM
Joined: Mar 2001
Posts: 16,439
R
R. Belmont Online Content OP
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,439
I'm trying to hack something in for u7 so it automatically compiles tms57002 -O0 on non-x86/x64, but it looks like GCC didn't support #pragma optimize until 4.4 which makes that a lot harder.

Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78821 05/06/12 05:46 PM
Joined: Feb 2007
Posts: 478
C
couriersud Offline
Senior Member
Offline
Senior Member
C
Joined: Feb 2007
Posts: 478
The following should do the job (sdl.mak)
Code:
ifeq ($(TARGETOS),macosx)
ifdef BIGENDIAN
$(OBJ)/emu/cpu/tms57002/tms57002.o : CCOMFLAGS += -O0
endif
endif


Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78864 05/07/12 11:37 PM
Joined: Jan 2007
Posts: 206
M
MacBox360 Offline
Senior Member
Offline
Senior Member
M
Joined: Jan 2007
Posts: 206
u8 builds OK on Mac PPC but only with option NOWERROR=1 because of this warning during compile:

src/emu/ioport.c: In member function ‘void natural_keyboard::build_codes(ioport_manager&)’:
src/emu/ioport.c:1237: warning: ‘newcode$field$1’ may be used uninitialized in this function

And, of course, the option OPTIMIZE=0 when the TMS57002 part is reached.


Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont] #78865 05/08/12 12:04 AM
Joined: Mar 2001
Posts: 16,439
R
R. Belmont Online Content OP
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,439
Whoops. I somehow completely missed "vetting" Aaron's input changes. I'll get that fixed and try out couriersud's tms57002 thing for next time.

Page 1 of 3 1 2 3

Moderated by  R. Belmont 

Who's Online Now
1 registered members (R. Belmont), 187 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,749
Posts114,949
Members4,884
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3