Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » MacOS X woes
Re: MacOS X woes [message #7227 is a reply to message #7206] Tue, 19 December 2006 01:15 Go to previous messageGo to previous message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

Ah whoopsie.. I assumed you had previously done CPU_PPC to be powerpc, since the PocketPC cpu arch is ARM, SH3 or MIPS.

I will guess what is needed here and submit a patch.



I use something along the lines of:


#ifdef flagOSX11
        #define PLATFORM_OSX11
        #define PLATFORM_POSIX
        #ifdef flagGUI
                #define PLATFORM_X11
        #endif

        #ifdef flagTESTLEAKS
                #define TESTLEAKS
        #endif

        // defines set by OsX for us.                                           
        #ifdef __POWERPC__
                #define flagPOWERPC
        #endif

        #ifdef __i386__
                #define flagX86
        #endif

#endif



However, can you help to find a solution as to how to be able to do Intel build on a PPC platform and vv.

The problem is, I need to set "-arch i386", which currently I set in "Build Environment". This is only use for Compile, and not use in Linking. There are no Linking options that I can see in Build Environment. So without that set, "__i386__" is not set, so the linking is done as POWERPC.

If no extra input boxes in the GUI, how can I user-optionally build for different archs?

The sources specify "linkoptions" which is Gathered from pkg.link. Not sure where that comes from.

I could take out "flagOSX11" and make two flags, but that seems uneccessary when you have a fully features build environment setup.

Can I define a new GCC32 and supply different flags?


[Updated on: Tue, 19 December 2006 02:28]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Next Topic: 701-dev1 / 2007.1beta on Mac OSX
Goto Forum:
  


Current Time: Sun Apr 28 13:03:04 CEST 2024

Total time taken to generate the page: 0.10173 seconds