• wxWidgets and universal b

    From Bob Roberts@DIGDIST/HOVAL to Nightfox on Thu Dec 31 09:37:00 2020
    Re: wxWidgets and universal binaries
    By: Nightfox to Mercyful Fate on Wed Mar 03 2010 07:27 am

    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

    I'm replying to a 10 year old message just to say "and here we are again." It's 2020 and we're back to Universal Binaries so code can run on both Intel and the Apple Silicon. All the benchmarks show the Apple M1 running emulated Intel faster then Intel chips! Crazy.

    Bob Roberts

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco= Happy New Year!
  • From Nightfox@DIGDIST to Bob Roberts on Wed Jan 20 12:35:00 2021
    Re: wxWidgets and universal binaries
    By: Bob Roberts to Nightfox on Thu Dec 31 2020 09:37 am

    I'm replying to a 10 year old message just to say "and here we are again." It's 2020 and we're back to Universal Binaries so code can run on both Intel and the Apple Silicon. All the benchmarks show the Apple M1 running emulated Intel faster then Intel chips! Crazy.

    I've heard Apple's M1 processors have been getting really good performance numbers. I was skeptical about Apple developing an ARM-based processor to compete with Intel, but I guess Apple wouldn't have done it unless they knew they could make one with some serious performance.

    I used to work at Intel, and I still think it's interesting to see how the various processor/computing companies are doing. And I had used AMD for a long time in the past too, so I don't consider myself biased in any way as a former Intel employee. I built a new PC in 2019 with an Intel processor, but considering I couldn't get the Intel employee discount on the Intel processor I bought, I kinda wish I had gone with AMD, considering their new processors at the time.

    I've heard Microsoft is making a version of Windows 10 for ARM too, with a regular desktop mode and an emulator to run 32-bit Intel x86 apps on ARM. It will be interesting to see where things go in the industry. If ARM gets more of a hold in the computer industry, I'm wondering how the custom-built PC market will be affected. I'd hope people will still be able to buy PC parts and build their own PC for a long time.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Bob Roberts@DIGDIST/HOVAL to Nightfox on Thu Jan 21 10:06:00 2021
    Re: wxWidgets and universal binaries
    By: Nightfox to Bob Roberts on Wed Jan 20 2021 12:35 pm

    I've heard Microsoft is making a version of Windows 10 for ARM too, with a regular desktop mode and an emulator to run 32-bit Intel x86 apps on ARM. It will be interesting to see where things go in the industry. If ARM gets more of a hold in the computer industry, I'm wondering how the custom-built PC market will be affected. I'd hope people will still be able to buy PC parts and build their own PC for a long time.

    I think (and hope) that there will always be a market for the home-brew PC, build from parts. I think the market is strong enough that the manufacturers will continue to provide options, such as high-spec video cards, memory, motherboards and processors. My guess is that one of the chip manufacturers will release a line of ARM processors for this market -- if ARM really does catch on.

    Intel seems to be in a spot of trouble at the moment, with one Hedge fund pushing them to outsource their manufaturing to other fabs... a new batch of rumors indicates they will outsource their 5nm i3 chip manufacturing to TSMC. I wonder if Intel will simply become a brand name on someone elses chips?


    Bob Roberts

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco= hovalbbs.com:2333
  • From Nightfox@DIGDIST to Bob Roberts on Thu Jan 21 12:41:00 2021
    Re: wxWidgets and universal binaries
    By: Bob Roberts to Nightfox on Thu Jan 21 2021 10:06 am

    I think (and hope) that there will always be a market for the home-brew PC, build from parts. I think the market is strong enough that the manufacturers will continue to provide options, such as high-spec video cards, memory, motherboards and processors. My guess is that one of the chip manufacturers will release a line of ARM processors for this market -- if ARM really does catch on.

    I also think there should still be a market for home-built PCs. If ARM does catch on more, I think there would have to be a standard for ARM chips to be minimally compatible with consumer operating systems & software. My understanding is ARM only makes processor designs, and companies can take those designs and build on them to make their own processors, which I think Apple has done with their new M1 processor they're now using in their Mac systems.

    Intel seems to be in a spot of trouble at the moment, with one Hedge fund pushing them to outsource their manufaturing to other fabs... a new batch of rumors indicates they will outsource their 5nm i3 chip manufacturing to TSMC.

    I've heard that too. (I actually worked at Intel until December 2019, and I thought it was interesting to see them change direction as they were struggling. I also noticed there was some turnover as several senior leaders at Intel had left, and there was one in particular who was there for only about a year or so before leaving. I've also heard Intel has decided to replace their current CEO Bob Swan, who has only been Intel's CEO officially for about 2 years now, after being an interim CEO after Brian Krzanich was kicked out).

    I wonder if Intel will simply become a brand name on someone elses
    chips?

    I doubt that. I've heard AMD relies on TSMC (I think) for their chip manufacturing, but they're still AMD-branded chips.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to All on Sun Feb 14 11:02:00 2010
    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 Mon Mar 1 10:19:00 2010
    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 Wed Mar 3 07:27:00 2010
    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 Wed Mar 3 11:09:00 2010
    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 Fri Mar 5 07:36:00 2010
    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 Mon Mar 8 15:08:00 2010
    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 Thu Feb 6 15:04:00 2014
    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 Thu Feb 6 17:00:00 2014
    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 Fri Feb 7 09:24:00 2014
    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 Fri Feb 7 14:34:00 2014
    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 Tue Mar 4 08:48:00 2014
    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 Tue Mar 4 20:42:00 2014
    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 Fri Mar 7 10:07:00 2014
    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 Fri Mar 7 18:48:00 2014
    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 Sat Mar 8 00:13:00 2014
    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 Sat Mar 8 07:12:00 2014
    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