From: Gustav J. <gu...@ne...> - 2010-03-19 16:59:08
|
Hi Frans, I'll try it tonight, I'm not at home at the moment... Cheers, Dr. Gustav Johansson On 19 mar 2010, at 17.23, Frans Schreuder <fra...@gm...> wrote: > Hi Gustav, > > As you can see in the buildmac.sh script (and also in the > install_wxWidgets.sh script) I have added > > export MACOSX_DEPLOYMENT_TARGET=10.4 > export CC="gcc-4.0" > > I also added libiconv.dylib because it wouldn't run if you didn't have > it installed from macports. > I think you will also need to build wxWidgets again with gcc-4.0 (as > well as some other libraries) > > Could you try 869M, the one that I have uploaded to > usbpicprog.org/downloads? > > Cheers, > > Frans > > > Gustav Johansson schreef: >> Hi Frans! >> >> I have not uploaded any of the "fixed" builds, I was going to >> yesterday but the FTP didn't work... I'll upload one of my snapshots >> tonight and we'll see if they work then. I've also managed to build >> for cocoa, so if you can test that build as well it would be great! >> >> Cheers, >> Dr. Gustav Johansson >> >> >> On 19 mar 2010, at 16.39, Frans Schreuder <fra...@gm... >> <mailto:fra...@gm...>> wrote: >> >>> Hi Gustav, >>> >>> I have tried the .dmg on an intel 10.5 system, and it didn't seem to >>> work because it was compiled using gcc 4.2. >>> I compiled it using gcc 4.0 and modified buildmac.sh. >>> I think the latest one does now run on 10.4, 10.5 and 10.6. >>> Also libiconv has been included in the .app now. >>> >>> Cheers, >>> >>> Frans >>> >>> On Thu, 2010-03-11 at 20:34 +0100, Gustav Johansson wrote: >>>> Hi! >>>> >>>> Since I'm new to this mailing-list, I apologize in advance if I >>>> break >>>> some rules... If I do, just tell me and I won't do it again! :) >>>> >>>> I've been working on creating a universal build for OS X of the >>>> usbpicprog.app, and I think I've got it now. Attached are two >>>> files, >>>> one disk image containing a freshly built usbpicprog.app that >>>> *should* >>>> work on both Intel and PPC Macs, from 10.4 and up. I've tested it >>>> on >>>> an Intel 10.6 and an PPC 10.5, and they both work just fine. I do >>>> not >>>> however have a usb-programmer yet, so I have not tested the >>>> programming functionality. If you can help out by testing, please >>>> do >>>> so and tell me about any problems. >>>> >>>> If there is an interest in it, I can setup a cron-job and built >>>> "nigthly" builds of usbpicprog for OS X and upload the disk >>>> images to >>>> wherever is suitable. >>>> >>>> The second file is a couple of scripts and a README file with >>>> information on how you can build this yourself. I used a lot of the >>>> info by Lukas Zeller, and only had to do a bit of tweaking to get >>>> it >>>> to work. >>>> >>>> The main problem that Lukas Zeller saw was the libiconv linking, >>>> which >>>> was almost correct. The problem is not with the MacPorts >>>> libiconv, but >>>> rather that Apple ships with a number of libiconv versions, some of >>>> which takes precedence over the MacPorts version. The solution is >>>> to >>>> force wxWidgets to use the MacPorts version by using a configure >>>> flag. >>>> For more information, see the install_wxWidgets.sh script. >>>> >>>> There is however another issue that can mess stuff up. libtool! >>>> Again, >>>> Apple ships there own "special" version of libtool/libtoolize, >>>> which >>>> is NOT compatible with the GNU version. Unfortunately, stuff >>>> breaks in >>>> OS X if you overwrite Apple's version, and thus MacPorts have >>>> solved >>>> this by renaming libtool to glibtool and glibtoolize. To get >>>> everything to compile correctly, I had to make a symlink from >>>> /opt/local/bin/glibtool to /opt/local/bin/libtool (and >>>> glibtoolize of >>>> course). This makes everything build fine, but is a bit of a hack >>>> since I have to remove this symlinks after the build is complete >>>> or OS >>>> X will mess stuff up when installing other programs. The best way >>>> would be to make the configure/autogen.sh scripts to realize that >>>> they're building on a Mac and change from libtool to glibtool... >>>> >>>> I think that was all. Hope it works for everyone else as well! >>>> >>>> --- >>>> --- >>>> --- >>>> --- >>>> ------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ Usbpicprog- >>>> technical mailing list Usb...@li... >>>> <mailto:Usb...@li...> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical >>>> >>> >>> --- >>> --- >>> --- >>> --- >>> ------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Usbpicprog-technical mailing list >>> Usb...@li... >>> <mailto:Usb...@li...> >>> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical >> --- >> --------------------------------------------------------------------- >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> --- >> --------------------------------------------------------------------- >> >> _______________________________________________ >> Usbpicprog-technical mailing list >> Usb...@li... >> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical >> > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical |