fink

Posted on February 14th, 2014

[Setup]
  1. Instal X11 before install the fink : X11 you should install Xquartz-2.7.4 or later from macosforge.org
  2. Download for intel PC : http://prdownloads.sourceforge.net/fink/Fink-0.9.0-Intel-Installer.dmg?download
  3. Install dmg : Fink 0.9.0 XYZ Installer.dmg
  4. Run /sw/bin/pathsetup.sh
  5. Once fink is updated, you can use "fink install" to fetch and compile from source code.
    For example, to install the Gimp, run fink install gimp.
    (MAC 10.9 does not have the binary package, so you need use the "fink install pacakge_name" to get the package source and install.
    http://docstore.mik.ua/orelly/unix3/mac/ch06_01.htm
  6. The default install path is /sw
  7. xcode-select --install
  8. Reference: http://www.finkproject.org/download/index.php?phpLang=en
  9. Q&A: http://www.finkproject.org/faq/faq.en.html
  10. Chinese : http://www.finkproject.org/download/index.php?phpLang=zh
[Samba]

MacPort

Posted on February 14th, 2014

[Introduction]
  1. putty : http://codingsteps.com/installing-and-using-putty-on-mac-os-x/
    Install: sudo port install putty
    Run : putty
    usb serial : /dev/cu.usbserial
    usb info : You can get the usb information from "System information" app.
    http://pim.famnit.upr.si/blog/index.php?/archives/165-OS-X-equivalent-to-lsusb.html
[Command]
  1. port selfupdate


Arduino

Posted on February 13th, 2014

[Reference]



Objective-C Setup

Posted on February 11th, 2014

[Ubuntu setup]
  1. apt-get install gobjc build-essential
  2. hello.m
    #import

    @interface HelloWorld : NSObject
    - (void) hello;
    @end

    @implementation HelloWorld
    - (void) hello {
    NSLog(@"hello world!");
    }
    @end

    int main(void) {
    HelloWorld *hw = [[HelloWorld alloc] init];
    [hw hello];
    [hw release];
    }
  3. gcc -x objective-c -I/usr/include/GNUstep -fconstant-string-class=NSConstantString -D_NATIVE_OBJC_EXCEPTIONS hello.m -lgnustep-base
    or
    gcc $(gnustep-config --objc-flags) hello.m $(gnustep-config --base-libs)
  4. From: http://www.gc3.uzh.ch/blog/Compile_a_Objective-C_application_on_Ubuntu___40__Hobbes_instance__41__/
[MAC Setup]
  1. gcc -o hello hello.m -framework Foundation
[Window Setup]
  1. Download the packages from http://www.gnustep.org/experience/Windows.html
  2. Install the packages step by step : GNUstep MSYS System, GNUstep Core, GNUstep Devel, GNUstep Cairo,ProjectCenter,Gorm.
  3. Enter the GNUstep shell : C:\GNUstep\msys\1.0\msys.bat
  4. The root folder is C:\GNUstep\msys\1.0
  5. Compile : gcc -o hello hello.m -I /GNUstep/System/Library/Headers \
    -L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base \
    -fconstant-string-class=NSConstantString
  6. include path :
    C:\GNUstep\lib\gcc\mingw32\4.6.1\include
    C:\GNUstep\include


Blackarmor

Posted on February 10th, 2014

[Info]
  1. shasto nas v4000.1211
[Reference]

Visual C++

Posted on February 10th, 2014

[2008]
  1. Runtime : C:\Program Files\Microsoft Visual Studio 9.0\VC\redist
  2. msvcrt.dll : http://stackoverflow.com/questions/8530040/vc2008-installer-project-msvcrt-dll