polywogsys (polywogsys) wrote,

GNU Tools on Mac, Pt1

So I am installing my GNU tools (sed, awk, wget, etc) onto a mac by compiling it from scratch into /usr/local/. I ran into two issues so far:

1) CXXFLAGS and CFLAGS="-mtune=native -march=native" does NOT work with the GCC compiler from Xcode.
2) The latest version of tar 1.28 does NOT work with OS X, you must use the patch 0001-xattrs-fix-bug-in-configure.patch
3) Everything seems to use the "xz" format anymore, which native tar doesn't support, but at least you can download/compile "xz" to get started.
Tags: gnu, mac os x
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment