• wxWidgets and universal b

    From Nightfox@DIGDIST/BATTLEST/FREEWAY to All on Sunday, February 14, 2010 11:02:00
    Hi all -

    Has anyone reading this done any Macintosh (OS X) development with C++ and wxWidgets? Not too long ago, I compiled one of my C++/wxWidgets programs for OS X but was unable to make a universal binary. It seemed that wxWidgets could only (easily) be compiled either for Intel OR PPC, but not both. Thus, I decided to compile wxWidgets for Intel; thus, my app ended up being Intel-only. When trying to specify multiple architectures on the command line to compile wxWidgets, it would complain that only one architecture could be specified. Is there an easy way to compile universal binaries using wxWidgets?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Monday, March 01, 2010 10:19:00
    Re: wxWidgets and universal binaries
    By: Nightfox to All on Sun Feb 14 2010 11:02:10

    Has anyone reading this done any Macintosh (OS X) development with C++ and wxWidgets? Not too long ago, I compiled one of my C++/wxWidgets programs fo OS X but was unable to make a universal binary. It seemed that wxWidgets co only (easily) be compiled either for Intel OR PPC, but not both. Thus, I decided to compile wxWidgets for Intel; thus, my app ended up being Intel-on When trying to specify multiple architectures on the command line to compile wxWidgets, it would complain that only one architecture could be specified. there an easy way to compile universal binaries using wxWidgets?

    I don't believe there is such a thing as universal binaries.. usually you can cross compile seperate binaries for each playfrom with 1 compiler.. but never a single executable for each playform.. the only reason some linux works on BSD is that BSD has a compability layer.. Sorta like what windows has from some OS2 stuff.. other then that you have to compile seperately per platform.

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Wednesday, March 03, 2010 07:27:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Mon Mar 01 2010 10:19:38

    I don't believe there is such a thing as universal binaries.. usually you ca

    There are on the Mac. When Apple switched to using Intel processors, they created what they call "Universal Binaries", which are Mac application bundles that include an Intel-compiled version and PowerPC-compiled version; when the user runs the app, Mac OS X will run the appropriate one compiled for the processor used in the computer. "Universal Binary" is the term officially used by Apple for this type of application; it doesn't mean apps that can run on any platform. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Wednesday, March 03, 2010 11:09:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Wed Mar 03 2010 07:27:15

    There are on the Mac. When Apple switched to using Intel processors, they created what they call "Universal Binaries", which are Mac application bundl that include an Intel-compiled version and PowerPC-compiled version; when th user runs the app, Mac OS X will run the appropriate one compiled for the processor used in the computer. "Universal Binary" is the term officially u by Apple for this type of application; it doesn't mean apps that can run on platform. :)

    I beleive these "universal binaries" are run through emulation, as there is no system that can run code compiled on another without a compability layer or Emulator. Just like my PS3 can run ps1 and ps2 games, but only becasue the PS3 system software has ps1 and ps2 emulators for the translations.

    This is also the same when running programs compiled in Linux on a BSD system, BSD has a linux compability layer that translates the code to run on the BSD system, without this, linux programs would not run on BSD at all.

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Friday, March 05, 2010 07:36:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Wed Mar 03 2010 11:09:59

    I beleive these "universal binaries" are run through emulation, as there is system that can run code compiled on another without a compability layer or Emulator. Just like my PS3 can run ps1 and ps2 games, but only becasue the system software has ps1 and ps2 emulators for the translations.

    Not quite. Mac apps that are compiled only for PowerPC are the only ones that need to be run through emulation. OS X for Intel systems has a piece of software called Rosetta, which runs PowerPC Mac apps on Intel Macs. The "universal binaries" don't need that because universal binaries include both the Intel and PowerPC-compiled versions, so they run natively on both Intel and PowerPC Macs.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Monday, March 08, 2010 15:08:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Fri Mar 05 2010 07:36:36

    Not quite. Mac apps that are compiled only for PowerPC are the only ones th need to be run through emulation. OS X for Intel systems has a piece of software called Rosetta, which runs PowerPC Mac apps on Intel Macs. The "universal binaries" don't need that because universal binaries include both the Intel and PowerPC-compiled versions, so they run natively on both Intel PowerPC Macs.

    Learn soemthing new everyday.. :)

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Thursday, February 06, 2014 15:04:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Fri Mar 05 2010 08:36:36

    Not quite. Mac apps that are compiled only for PowerPC are the only ones that need to be run through emulation. OS X for Intel systems has a piece of software called Rosetta, which runs PowerPC Mac apps on Intel Macs. The "universal binaries" don't need that because universal binaries include both the Intel and PowerPC-compiled versions, so they run natively on both Intel and PowerPC Macs.

    Pretty interesting indeed. I've never owned a mac so i've never had first hand access to play with either the PowerPC or Intel Platforms. Although recently i've gotten a vmware image togehter of OSX Lion which has been pretty intersting to play with.

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Thursday, February 06, 2014 17:00:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Thu Feb 06 2014 16:04:06

    Pretty interesting indeed. I've never owned a mac so i've never had first hand access to play with either the PowerPC or Intel Platforms. Although recently i've gotten a vmware image togehter of OSX Lion which has been pretty intersting to play with.

    I might be interested in finding such a VMWare image. I've bought a couple Mac systems in the past with the idea of using them for certain tasks, but I never ended up finding much use for them, so I ended up selling them. I think OS X is nice in its own ways, but I'm not sure if it's worth buying an entirely separate computer to run it. It would be interesting if Apple would sell OS X for PCs other than their own, but it looks like Apple has no intention of doing that any time soon. In fact, Apple seems to have made the Mac-OS X relationship even closer by offering new versions of OS X for free on their machines now (starting with the next version). Apple sees themselves as a hardware company, so they apparently want to strictly sell hardware devices and not be a software company.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Friday, February 07, 2014 09:24:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Thu Feb 06 2014 18:00:04

    I might be interested in finding such a VMWare image. I've bought a couple Mac systems in the past with the idea of using them for certain tasks, but I never ended up finding much use for them, so I ended up selling them. I think OS X is nice in its own ways, but I'm not sure if it's worth buying an entirely separate computer to run it. It would be interesting if Apple would sell OS X for PCs other than their own, but it looks like Apple has no intention of doing that any time soon. In fact, Apple seems to have made the Mac-OS X relationship even closer by offering new versions of OS X for free on their machines now (starting with the next version). Apple sees themselves as a hardware company, so they apparently want to strictly sell hardware devices and not be a software company.

    Here is the page i got my image from, i've only used Lion, but it also has the Latest Mountain Lion but i blieve it has a ittle more work involed to get it running in vmare. It also has a folder with a patch for vmware to allow mac osx to boot up which needs to be applied. it's all pretty smooth.

    http://www.souldevteam.net/blog/2012/10/04/mac-os-x-lion-10-7-5-vmware-image-re lease-notes-links/

    It's a great site, there are even video tutorals and walk through. A great resource. i use this to test compiles of Enthral in 64 bit osx.

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Friday, February 07, 2014 14:34:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Fri Feb 07 2014 10:24:47

    Here is the page i got my image from, i've only used Lion, but it also has the Latest Mountain Lion but i blieve it has a ittle more work involed to get it running in vmare. It also has a folder with a patch for vmware to allow mac osx to boot up which needs to be applied. it's all pretty smooth.

    http://www.souldevteam.net/blog/2012/10/04/mac-os-x-lion-10-7-5-vmware-ima ge-re lease-notes-links/

    Thanks, I'll check it out.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Tuesday, March 04, 2014 08:48:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Fri Feb 07 2014 15:34:20

    http://www.souldevteam.net/blog/2012/10/04/mac-os-x-lion-10-7-5-vmwa
    re-ima ge-re lease-notes-links/

    Thanks, I'll check it out.

    Let me know if you have any questions. The lion image works pretty good, the only one i've tried so far. I've been able to get access to the developers net and install xCode for gcc and tools so i could compile. Code::Blocks is also a nice IDE that i found for c/c++ that works in Mac pretty good along with some other platforms.

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Tuesday, March 04, 2014 20:42:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Tue Mar 04 2014 09:48:07

    http://www.souldevteam.net/blog/2012/10/04/mac-os-x-lion-10-7-5-vmw
    a re-ima ge-re lease-notes-links/

    Thanks, I'll check it out.

    Let me know if you have any questions. The lion image works pretty good, the only one i've tried so far. I've been able to get access to the

    I didn't see any download links for OS X VM images there. I did find VMWare images for OS X 10.8 and 10.9 on BitTorrent.. I'm tempted to buy another real Mac if I'm going to be using OS X though.

    developers net and install xCode for gcc and tools so i could compile. Code::Blocks is also a nice IDE that i found for c/c++ that works in Mac pretty good along with some other platforms.

    I've used Code::Blocks in Windows before. I came across Code::Blocks quite some time ago, as it had good support for wxWidgets.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Friday, March 07, 2014 10:07:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Tue Mar 04 2014 21:42:19

    http://www.souldevteam.net/blog/2012/10/04/mac-os-x-lion-10-7-5-vm
    w a re-ima ge-re lease-notes-links/
    I didn't see any download links for OS X VM images there. I did find VMWare images for OS X 10.8 and 10.9 on BitTorrent.. I'm tempted to buy another real Mac if I'm going to be using OS X though.

    I think they made it easier with a single torrent or you can lick the here link on the page under the video. it will goto this page for direct download

    http://pastebin.com/raw.php?i=2dPiPAbE

    It's in multiparts, but you just save each one, then unzip it for the full image.

    Stange, the FSE is in overwrite mode, when i back up and type test it doesn't push it forward it just overwrites, is that normal? i tried hitting insert but that didn't change anything. Or maybe i never noticed it before :)

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Friday, March 07, 2014 18:48:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Fri Mar 07 2014 11:07:46

    I think they made it easier with a single torrent or you can lick the here link on the page under the video. it will goto this page for direct

    I'm not really into licking links.. doesn't sound very appetizing. ;)

    Stange, the FSE is in overwrite mode, when i back up and type test it doesn't push it forward it just overwrites, is that normal? i tried

    That's what overwrite means - overwriting the text with what you're currently typing.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Mercyful Fate@DIGDIST/BATTLEST/FREEWAY to Nightfox on Saturday, March 08, 2014 00:13:00
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Fri Mar 07 2014 19:48:56

    Stange, the FSE is in overwrite mode, when i back up and type test
    it doesn't push it forward it just overwrites, is that normal? i
    tried

    That's what overwrite means - overwriting the text with what you're currently typing.

    Indeed, although i don't recall toggeling it on. Seems to be working normal now. was strange so i figured i'd mention it since Insert Key wasn't doing anything. CRTL+I seems to do it though, don't know how i must have that .. :)

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Mercyful Fate on Saturday, March 08, 2014 07:12:00
    Re: wxWidgets and universal binaries
    By: Mercyful Fate to Nightfox on Sat Mar 08 2014 01:13:37

    Stange, the FSE is in overwrite mode, when i back up and type test
    it doesn't push it forward it just overwrites, is that normal? i
    tried

    That's what overwrite means - overwriting the text with what you're
    currently typing.

    Indeed, although i don't recall toggeling it on. Seems to be working normal now. was strange so i figured i'd mention it since Insert Key wasn't doing anything. CRTL+I seems to do it though, don't know how i must have that .. :)

    The default mode is insert mode. It's always possible to accidentally toggle something. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com