openMSX 0.9.0 on PPC Powerbook

Pagina 2/3
1 | | 3

Van FiXato

Scribe (1720)

afbeelding van FiXato

30-09-2012, 15:50

No, it came with the latest developer XCode available for Snow Leopard iirc.

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 16:19

Smile Snow Leopard is intel only.
FiXato, change the SDK in the mk files and send me a binary then...
Its referencing 10.6 instead of 10.4 or 10.5.

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 16:22

Fixato:

line 44 of the following file: platform-darwin.mk
Change 10.6 to 10.5 and recompile it. if possible.

Quote:

DK_PATH:=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/
ifneq ($(shell [ -d $(SDK_PATH) ] && echo exists)$(filter $(OPENMSX_TARGET_CPU),ppc),exists)
# The SDK path for the older stand-alone Xcode:
SDK_PATH:=/Developer/SDKs/MacOSX10.6.sdk
endif

Van Manuel

Ascended (18254)

afbeelding van Manuel

30-09-2012, 22:04

hbarcellos: you can try 0.8.2 if you want to avoid the RawTrack.hh thing.

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

02-10-2012, 04:17

I installed gcc 4.6 on it.
changing platform-darwin.mk CXX to the new binary makes ./configure fail saying that there are no gcc compilers available.
using export cxx=path to g++-mp-4.6 produces the same result...

Sad

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

03-10-2012, 01:31

heitor-barcelloss-powerbook-g4-15Shocked!penmsx-src hbarcellos$ make CXX=/opt/local/bin/g++-mp-4.6

Quote:

Using Python: python
Up to date: derived/ppc-darwin-ppc/config/components_defs.mk
Using Python: python
Build configuration:
Platform: ppc-darwin
Flavour: ppc
Compiler: /opt/local/bin/g++-mp-4.6
Subset: full build
Up to date: derived/ppc-darwin-ppc/config/Version.ii
Up to date: derived/ppc-darwin-ppc/config/components.hh
Compiling CartridgeSlotManager.cc...
g++-mp-4.6: error: ppc: No such file or directory
g++-mp-4.6: error: unrecognized option '-arch'
make: *** [derived/ppc-darwin-ppc/obj/CartridgeSlotManager.o] Error 1

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

03-10-2012, 02:35

arch = ppc?

Quote:

/opt/local/bin/g++-mp-4.6 -MP -MMD -MF derived/ppc-darwin-ppc/dep/CliExtension.d -o derived/ppc-darwin-ppc/obj/CliExtension.o -O3 -DNDEBUG -ffast-math -funroll-loops -fomit-frame-pointer -mcpu=G3 -mtune=G4 -I/usr/local/include -arch ppc -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.5.sdk -pipe -Wall -Wextra -Wundef -Wunused-macros -Wno-missing-field-initializers -Isrc -Isrc/cassette -Isrc/commands -Isrc/config -Isrc/console -Isrc/cpu -Isrc/debugger -Isrc/events -Isrc/fdc -Isrc/file -Isrc/ide -Isrc/input -Isrc/laserdisc -Isrc/memory -Isrc/security -Isrc/serial -Isrc/settings -Isrc/sound -Isrc/thread -Isrc/utils -Isrc/video -Isrc/video/ld -Isrc/video/scalers -Isrc/video/v9990 -Iderived/ppc-darwin-ppc/config -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng15 -DPACKAGE_NAME=tcl -DPACKAGE_TARNAME=tcl -DPACKAGE_VERSION=8.5 -DPACKAGE_STRING=tcl\ 8.5 -DPACKAGE_BUGREPORT= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=iso8859-1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(hidden\)\)\) -DMAC_OSX_TCL=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=.dylib -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=utf-8 -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -I/opt/local/include -I/usr/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -c src/CliExtension.cc

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

04-10-2012, 10:11

GOSH! again and again...

Quote:

n file included from src/serialize_meta.hh:11:0,
from src/serialize_core.hh:7,
from src/serialize.hh:6,
from src/serial/MidiOutCoreMIDI.cc:8:
src/utils/type_traits.hh:116:9: error: declaration does not declare anything [-fpermissive]
src/utils/type_traits.hh:117:9: error: declaration does not declare anything [-fpermissive]
src/utils/type_traits.hh:119:60: error: expected primary-expression before ')' token
src/serial/MidiOutCoreMIDI.cc:107:1: error: in argument to unary !
src/serial/MidiOutCoreMIDI.cc:182:1: error: in argument to unary !
make: *** [derived/ppc-darwin-ppc/obj/serial/MidiOutCoreMIDI.o] Error 1

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

04-10-2012, 21:53

Quote:

// is_base_and_derived
template struct is_base_and_derived
{
// This only checks if D* can be converted to B*, good enough for now.
// See boost::is_base_and_derived for a more complete implementation.
struct yes { char a[1]; };
struct no { char a[2]; };
static yes check(B*);
static no check(...);

static const bool value = sizeof(check(static_cast(0))) == sizeof(yes);
};

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

05-10-2012, 21:42

switched to BlueMSX code. If successful, I'll post binaries for PPC and Intel on OSX.

Pagina 2/3
1 | | 3