Search code examples
linuxgcc

Creating linux cross compiler running on mac 10.6


I have mac snowleopard 10.6 but i develop lots of programs (in C & C++) for linux hosts. I've tried compiling them under a ubuntu linux vm in virtualbox but the VM isn't the same performance as my mac and is very hard to keep swapping files between.

I've read: http://crossgcc.rts-software.org/doku.php about the "i386-Linux Binaries for Intel" and installed the binary the author of that wiki made and it works but it is an old version of gcc that came with that package. I tried compiling a cross compiler using his script but it fails because my mac does not have a case sensitive file system.

Can anyone suggest how to create a cross compiler on a mac for i386 linux?

All help is greatly appreciated


Solution

  • You can create case-sensitive workspace. The following documents might help.

    Get Android Source Code "Creating a case sensitive disk image"