妈B的 一些SB老在那乱墙...
好好的 developer.android.com 被墙了 杯具..
曾经的 SB是 宁可放 走坏人 也不错 sha 好人
现在是反过来了 宁可错杀 也不放过 SB们你们全家不得好死噢
找了半天托人拉关系 终于国外的朋友帮忙找到了下载地址
http://dl.google.com/android/android-sdk-mac_x86-1.6_r1.zip
好好的 developer.android.com 被墙了 杯具..
曾经的 SB是 宁可放 走坏人 也不错 sha 好人
现在是反过来了 宁可错杀 也不放过 SB们你们全家不得好死噢
找了半天托人拉关系 终于国外的朋友帮忙找到了下载地址
http://dl.google.com/android/android-sdk-mac_x86-1.6_r1.zip
TextMate brings Apple's approach to operating systems into the world of text editors. By bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the benefit of expert scripters and novice users alike.
Project Window
Whether you are a programmer or a designer, the production of code and markup is hard work. Without an editor dedicated to the task, it is also often cumbersome, overwhelming, and repetitive. Especially when you are dealing with a lot of files at once — like most projects do. TextMate puts you back in control, reduces the mental overhead, and turns manual work into something the computer does.
Fonts And Colors
Created by a closet UNIX geek who was lured to the Mac platform by its ease of use and elegance, TextMate has been referred to as the culmination of Emacs and OS X and has resulted in countless requests for both a Windows and Linux port, but TextMate remains exclusive for the Mac, and that is how we like it!
TextMate is not an IDE but by using its powerful snippets, macros, and unique scoping system, it can often provide features that even a language specific IDE lacks. It has enough project management features to keep most users happy, but is otherwise kept lightweight with a clean and minimalistic GUI.
A list of highlights follow, you can follow the links to learn more.
* Ability to Search and Replace in a Project
* Auto-Indent for Common Actions Like Pasting Text
* Auto-Pairing of Brackets and Other Characters
* Clipboard History
* Column Selections and Column Typing
* Completion of Words from Current Document
* CSS-like Selectors to Pinpoint the Scope of Actions and Settings
* Declarative Language Grammars for Graceful Mixing and Hacking
* Dynamic Outline for Working With Multiple Files
* Expand Trigger Words to Code Blocks With Tab-able Placeholders
* File Tabs when Working With Projects
* Foldable Code Blocks
* Function Pop-up for Quick Overview and Navigation
* Plug-able Through Your Favorite Scripting Language
* Recordable Macros With No Programming Required
* Regular Expression Search and Replace (grep)
* Run Shell Commands from Within a Document
* Support for Darcs, Perforce, SVK, and Subversion
* Support for More Than 50 Languages
* Switch Between Files in Projects With a Minimum of Key Strokes
* Themable Syntax Highlight Colors
* Visual Bookmarks to Jump Between Places in a File
* Works As External Editor for (s)ftp Programs
* Works Together With Xcode and Can Build Xcode Projects
Command Editor
down link : 点击这里下载,如果出现(405 Not Allowed) 刷新页面试试
Project Window
Whether you are a programmer or a designer, the production of code and markup is hard work. Without an editor dedicated to the task, it is also often cumbersome, overwhelming, and repetitive. Especially when you are dealing with a lot of files at once — like most projects do. TextMate puts you back in control, reduces the mental overhead, and turns manual work into something the computer does.
Fonts And Colors
Created by a closet UNIX geek who was lured to the Mac platform by its ease of use and elegance, TextMate has been referred to as the culmination of Emacs and OS X and has resulted in countless requests for both a Windows and Linux port, but TextMate remains exclusive for the Mac, and that is how we like it!
TextMate is not an IDE but by using its powerful snippets, macros, and unique scoping system, it can often provide features that even a language specific IDE lacks. It has enough project management features to keep most users happy, but is otherwise kept lightweight with a clean and minimalistic GUI.
A list of highlights follow, you can follow the links to learn more.
* Ability to Search and Replace in a Project
* Auto-Indent for Common Actions Like Pasting Text
* Auto-Pairing of Brackets and Other Characters
* Clipboard History
* Column Selections and Column Typing
* Completion of Words from Current Document
* CSS-like Selectors to Pinpoint the Scope of Actions and Settings
* Declarative Language Grammars for Graceful Mixing and Hacking
* Dynamic Outline for Working With Multiple Files
* Expand Trigger Words to Code Blocks With Tab-able Placeholders
* File Tabs when Working With Projects
* Foldable Code Blocks
* Function Pop-up for Quick Overview and Navigation
* Plug-able Through Your Favorite Scripting Language
* Recordable Macros With No Programming Required
* Regular Expression Search and Replace (grep)
* Run Shell Commands from Within a Document
* Support for Darcs, Perforce, SVK, and Subversion
* Support for More Than 50 Languages
* Switch Between Files in Projects With a Minimum of Key Strokes
* Themable Syntax Highlight Colors
* Visual Bookmarks to Jump Between Places in a File
* Works As External Editor for (s)ftp Programs
* Works Together With Xcode and Can Build Xcode Projects
Command Editor
down link : 点击这里下载,如果出现(405 Not Allowed) 刷新页面试试
第一代基于Intel架构的Mac不管是单核还是双核的CPU都不支持64位模式, 而之后的基本上都支持.默认情况下, 雪豹是以32位模式加载.
-------------------------------------------
雪豹除服务器版本, 其他都默认以32位模式加载. 现在有一个简单的方法, 只要在雪豹启动的时候摁住"6"和"4", 就能以64位模式加载.
加载以后, 你可以通过 关于本机->更多信息->软件查看是否成功加载了64位模式.
----------------------------------------------
至于你的Mac是否支持64位的内核, 主要看你的Mac是否有64-bit EFI, 请打开终端窗口, 输入:
ioreg -l -p IODeviceTree | grep firmware-abi
终端会返回“EFI32″ or “EFI64.”
如下:
如果你觉得每次开机都要按住"6"和"4"很麻烦, 那还有个一劳永逸的方法:
打开 /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
把
Kernel Flags
替换成
Kernel Flags
arch=x86_64
一切就OK了.
也可以试试看:
应用程序-实用工具-终端
里面输入
sudo nvram boot-args="arch=x86_64"
-------------------------------------------
雪豹除服务器版本, 其他都默认以32位模式加载. 现在有一个简单的方法, 只要在雪豹启动的时候摁住"6"和"4", 就能以64位模式加载.
加载以后, 你可以通过 关于本机->更多信息->软件查看是否成功加载了64位模式.
----------------------------------------------
至于你的Mac是否支持64位的内核, 主要看你的Mac是否有64-bit EFI, 请打开终端窗口, 输入:
ioreg -l -p IODeviceTree | grep firmware-abi
终端会返回“EFI32″ or “EFI64.”
如下:
ioreg -l -p IODeviceTree | grep firmware-abi
| | "firmware-abi" = <"EFI64">
| | "firmware-abi" = <"EFI64">
如果你觉得每次开机都要按住"6"和"4"很麻烦, 那还有个一劳永逸的方法:
打开 /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
把
替换成
一切就OK了.
也可以试试看:
应用程序-实用工具-终端
里面输入
sudo nvram boot-args="arch=x86_64"
首先提示是语法错误 AC_MSG_ERROR
搜了半天没啥有用的信息
后来才发现 我用的 automake1.0
执行
sudo port -v install automake
安装了一个1.1的 OK了
但是在 /opt/local/bin
最傻的替换法把所有 /usr/bin 里面 automake autoreconf autoheader 等 rename为 *.bak
后来发现 aclocal 导致版本错误
找不到 openssl 明明有装
在这里最好的方法就是 export PATH=/opt/local/bin:$PATH
现在继续出现错误
../../../dep/ACE_wrappers/configure: line 35635: syntax error near unexpected token `fi'
../../../dep/ACE_wrappers/configure: line 35635: `fi'
现在从新
if ac_fn_cxx_try_compile "$LINENO"; then :
if test "$ace_user_enable_reentrant_funcs" = yes; then
$as_echo "#define ACE_HAS_POSIX_GETPWNAM_R 1" >>confdefs.h
fi
#else 注释掉这句继续
fi
整了半天又下载心的 ACE还是不行
继续中
搜了半天没啥有用的信息
后来才发现 我用的 automake1.0
执行
sudo port -v install automake
安装了一个1.1的 OK了
但是在 /opt/local/bin
最傻的替换法把所有 /usr/bin 里面 automake autoreconf autoheader 等 rename为 *.bak
后来发现 aclocal 导致版本错误
找不到 openssl 明明有装
在这里最好的方法就是 export PATH=/opt/local/bin:$PATH
现在继续出现错误
../../../dep/ACE_wrappers/configure: line 35635: syntax error near unexpected token `fi'
../../../dep/ACE_wrappers/configure: line 35635: `fi'
现在从新
cd build
autoreconf -vif ..
../configure --prefix=/usr/local --datadir=/usr/local/share --sysconfdir=/usr/local/etc --enable-cli --enable-ra LIBS="-lcrypto" CFLAGS="-O2" CXXFLAGS="-O2"
autoreconf -vif ..
../configure --prefix=/usr/local --datadir=/usr/local/share --sysconfdir=/usr/local/etc --enable-cli --enable-ra LIBS="-lcrypto" CFLAGS="-O2" CXXFLAGS="-O2"
if ac_fn_cxx_try_compile "$LINENO"; then :
if test "$ace_user_enable_reentrant_funcs" = yes; then
$as_echo "#define ACE_HAS_POSIX_GETPWNAM_R 1" >>confdefs.h
fi
#else 注释掉这句继续
fi
整了半天又下载心的 ACE还是不行
继续中
一个make 说明 记录下免得忘了
Posted in Unix/Linux/FreeBsd on 2009/08/21 / 评论(0) »
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features




