background preloader

Mac OSX

Facebook Twitter

How to Activate the Unstable Branch - OS X Scientific Computing. Osx - How to static link on OS X. Landon Fuller. MinGW supplies header files, import libraries, and a compiler tool-chain based on GNU cc and binutils for building native Windows executables and libraries with no dependencies on third party libraries. I am using the MinGW tool-chain to compile the Win32 port of OpenDarwin libFoundation. To cross-compile the library on my Mac OS X machine, I created DarwinPorts Portfiles for the MinGW tool-chain. In this article I'll document how to install the MinGW ports, build a "Hello, World" example, and run the result on a x86 machine using Wine. To install the MinGW ports, you'll first need a working, up-to-date installation of DarwinPorts. Installation instructions are available here, and instructions on updating your installation are available here. Once you have a working, up-to-date DarwinPorts installation, issue the following command to build and install the MinGW compiler, linker, headers, and libraries: port -v install i386-mingw32-gcc This will take some time to build.

Start [Cross GCC on Mac OS X] For some of my softwares (as galgas), I needed to built a multi platform distribution package, including executable for Windows and Linux. As I mainly work on Mac, I have decided to built GCC cross compilers for Windows and Linux. Then I have built Mac OS X packages in order to make installation simplest. Compiling for WIN32 on Mac OS X Compiling for Linux on MacOS X Compiling for Renesas H8 on MacOS X KPIT Cummins provides KPIT GNU Tools for Renesas micros.

You can find here Intel binaries, Power PC binaries, and source packages. Compiling for ARM on MacOS X You can find here Intel binaries, Power PC binaries, and source packages for compiling for ARM on Mac OS X. License Copyright © 2005, …, 2013 by Pierre Molinaro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author. Mingwsamplecode [Cross GCC on Mac OS X] Mac OS X: A Guide for Former Linux Users - Panther Edition. Panther Edition Linux is where I came from. Mac OS X is where I am. It's been almost a year since I originally wrote this guide, and Panther brings us Unix fans even more of the Unix tools we love in the standard way we love them. Applications I'm going to attempt to keep track of applications I have installed other than those that come with Panther. Multimedia Ogg Vorbis for QuickTime—Play Ogg Vorbis files in iTunes! Internet Colloquy—A very nice IRC client.

Miscellaneous MacTacker—A cool little app to get information on all of the past and present things Apple has released. Finder.app Not a separate download, but I'd like to mention that with the new Finder in Panther, I find it useful to differentiate spatial Finder (Aqua) from browser Finder (Metal). Panther now comes with Apple's X11.app, based on XFree86 4.3. Useful Console Stuff Want to create an encrypted resizeable disk image to store files in? Just can't get away from that Linux software you miss?

Performance Tuning Customizing Bash. Mac OS X Technology Overview. Cocoa Frameworks Cocoa is an extremely productive high-level programming environment that gives you complete access to the full power of the operating system, including the signature Mac look and feel. Written in the dynamic Objective-C language, Cocoa provides exciting and animation-rich user experiences, but is easy to augment with your custom behaviors. With integrated support for the Model-View-Controller pattern, Cocoa provides a solid foundation for building state-of-the-art applications. With the Interface Builder tool, it is both easy and fun to drag-and-drop Cocoa controls to design your app’s user interface. Learn more Complete Access to the OS OS X integrates a number of easy-to-use technologies that play a dual role as great applications and system services.

Create Beautiful Apps OS X is built around a powerful, integrated stack of graphics technologies, including Core Animation, AV Foundation, Core Image and OpenGL. Powerful Foundation. Mac Dev Center. Create a RAM Disk in Mac OS X. Another great tip from one of our readers, Stephen Adelson writes: “Back in Mac OS 9 and earlier you could make a RAM disk, a temporary disk that was super fast because it was read from system memory, or RAM, and not a relatively slow moving hard drive.

In Mac OS X the feature has been removed from an easy GUI interface, but you can get the same effect and create your own RAM disk directly by typing the following commands in any terminal window.” Follow Stephen’s instructions below to create a RAM disk in Mac OS X: Create a RAM Disk in Mac OS X 10.5, 10.6, 10.7 or later These instructions are to create a RAM disk in OS X 10.5 or later, if you have troubles with the below commands for earlier version of Mac OS, try the following to create a 550mb RAM disk: diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount This has been tested and works in OS X 10.5.8, and 10.6.3, note that to remove the RAM disk you can simply eject it from the desktop as you would any other disk.

Accessing NetCDF Data From Python in Mac OS X — CDX. System_profiler command in different OS X versions. Optimizing your Application with Shark 4. Xcode 5 does more than ever to help you create high-quality apps. It automatically configures your apps to use the latest Apple services, manages images in a unified asset catalog, and helps you design stunning interfaces for iOS 7 and OS X. It also makes it easy to analyze your code, monitor performance, and test your apps, and with access to continuous integration built right in, your team can create better apps than ever before. Automatic Configuration Xcode 5 automatically configures your app to enable Apple services such as iCloud, Passbook, or Game Center, directly within the IDE. With the new capabilities editor, enabling Apple services is as easy as flipping a switch.

Simply enter your Apple ID, and Xcode will download your team information, manage your certificates, add the proper frameworks, create provisioning profiles, define entitlements, and sign your app automatically. Test Navigator Bots for Continuous Integration Auto Layout Debug Gauges Source Control Asset Management. More brain > blog.html: Using Xcode with Git.

Installation - mothur. Makefile options to consider before you get started. Mac OSX In the Mac OSX and Linux-type environments, you need to have a C++ compiler installed. These are typically installed with most linux-type operating systems and is on the Mac OSX installation CD/DVD. For Mac OSX users, you need to install the Xcode developer's tools. After downloading mothur, decompress it. If you want to house mothur off of your home folder (because don't we all want to live with our moms forever?) Escriba:~ pschloss$ unzip mothur.zip This will generate a mothur folder. Escriba:~ pschloss$ cd mothur escriba:~ pschloss$ make Go ahead and try to run mothur: escriba:~ pschloss$ . Hopefully, mothur will open in the interactive mode. If you are analyzing large data sets (e.g. from pyrosequencing) in OS X and you have more than 2 GB of RAM in your computer, you can add a flag to the make file to use 64-bit pointers by opening the makefile and changing the lines that read: 64BIT_VERSION ?

To 64BIT_VERSION ? USEMPI ? USEMPI ? . High Performance Computing for Mac OS X. Cocoa for Scientists (Part XV): Continuing 3D Visualization. Author: Drew McCormackWebsite: Last time, we started a project to build a simple 3D visualization app using Cocoa and VTK. This time, we are going to finish off the source code for that project by adding some controller code. Next time, we will define the interface in Interface Builder. Adding a Simple Model The application we are developing, Animoltion, performs an animated visualization of three atoms. We will fix the number of atoms visualized to 3. To add a file for the Atom struct code, follow this procedure: Open the Animoltion Xcode project that you used last time, or download it and open it in Xcode.Select the Classes group in the Groups & Files list on the left, and choose File > New File…Select ‘Empty File in Project’ as the file type, and click Next button.Type ‘Atom.h’ as the file name, and click the Finish button.

Now select the Atom.h file in the Groups & Files tree so that you can edit it in the editor on the right. Adding a Controller Class.

Boost