SCH-M620 블랙잭 Other OS/Blackjack2009. 3. 10. 23:22
'Other OS > Blackjack' 카테고리의 다른 글
블랙잭(SCH-M620)에서 레오파드 테마 사용하기 (0) | 2009.03.10 |
---|
블랙잭(SCH-M620)에서 레오파드 테마 사용하기 (0) | 2009.03.10 |
---|
AirPort Utility
Mac Pro 크기 (0) | 2013.12.23 |
---|---|
pastebin 사용방법 (0) | 2013.02.27 |
용팔이들의 세가지 수법 (1) | 2012.11.23 |
Thunderbolt-Light Peak Hubs (0) | 2012.10.28 |
Mac 시스템 성능 (0) | 2009.02.19 |
GIGABYTE GA-EX58-UD5 (Core i7) (4) | 2009.04.03 |
---|---|
MSI P35 Neo2FR (0) | 2009.03.10 |
P5Q Series BIOS ready for MAC OS X (1) | 2009.03.10 |
EP45-UD3R + BOOT-132 + 순정 Leopard Retail DVD 이미지 (4) | 2009.03.06 |
GIGABYTE EP31-DS3L (3) | 2009.02.01 |
Linkinus 1.X (0) | 2009.03.10 |
---|---|
MacJournal 좋군요. (0) | 2009.03.10 |
QuarkXPress 8.02 (5) | 2009.03.10 |
무비스트 0.5.1 릴리즈 (0) | 2009.03.10 |
Screen Flow (0) | 2009.03.10 |
MacJournal 좋군요. (0) | 2009.03.10 |
---|---|
QuarkXPress 8.02 (0) | 2009.03.10 |
무비스트 0.5.1 릴리즈 (0) | 2009.03.10 |
Screen Flow (0) | 2009.03.10 |
Audio Hijack Pro (0) | 2009.03.10 |
Server: | |
User name: | tools |
Password: | tools |
블로그 아이디/아이피 차단하는 방법 (5) | 2009.05.16 |
---|---|
Chrome 폰트 바꾸는 방법 (0) | 2009.04.18 |
FaceBook에서 그룹 탈퇴하는 방법 (0) | 2009.02.27 |
인터넷 속도 측정 (0) | 2009.02.26 |
MacTube (0) | 2009.02.23 |
The Mac OS file system, HFS+, is case-insensitive by default. This causes troubles during the
build of some Haiku components, because of wrong headers inclusion ("String.h" (from Haiku) instead of "string.h" (from the system) for instance).
If your Mac OS X partition is not in case-sensitive HFS+ (which is very likely), you need to create a case-sensitive disk image and put Haiku buildtools and source code on it.
1) Open Disk Utility (in /Application/Utilities)
2) Click "New Image", and enter the following parameters:
The image is automatically mounted on the Desktop. If you want to remount it later, just double-click on the image file.
Open a Terminal (in /Application/Utilities), and enter:
cd /Volumes/Haiku/
"/Volumes/Haiku" refers here (and in all this tutorial) to the mounted disk image name. I named it "Haiku", so if you chose another name, use it instead of "Haiku" after "/Volumes/".
Checkout the buildtools:
svn checkout svn://svn.berlios.de/haiku/buildtools/trunk buildtools
[ Note to Tiger users: IIRC, Subversion is not available with Xcode 2.5. You have to install it manually. ]
And the sourcecode:
svn checkout svn://svn.berlios.de/haiku/haiku/trunk haiku
You should now have two folders "haiku" and "buildtools" into the mounted disk image.
First, install MacPorts (A standard Installer package is provided)
Close your Terminal, and enter in a new one:
sudo port install gnuregex gawk
(You will be prompted for the administrator password of the current account - Do not worry if nothing you type shows after the Password prompt, this is intended ;-) )
If you get an error "port: command not found", create/edit your .bash_profile file :
nano ~/.bash_profile
Add at the end of the file :
export PATH=/opt/local/bin:$PATH export MANPATH=$MANPATH:/opt/local/share/man export INFOPATH=$INFOPATH:/opt/local/share/info
To save the file and quit the editor, type Ctrl-X, Y and Return.
You can now retry the port install...
command in a new Terminal.
After MacPorts finished installing the tools, install the modified Haiku jam:
cd /Volumes/Haiku/buildtools/jam make sudo ./jam0 install [Enter your password] cd ..
Reopen a new Terminal, and enter jam -v
.
You should get:
Jam 2.5-haiku-20080327. OS=MACOSX. Copyright 1993-2002 Christopher Seiwald.
With your favorite text editor, open the file [Mounted Disk Image]/buildtools/legacy/gcc/config.guess
.
Find (line 522):
*:FreeBSD:*:*) if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then echo ${UNAME_MACHINE}-unknown-freebsdelf else echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` fi exit 0 ;;
Add before:
*:Darwin:*:*) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` exit 0 ;;
Warning! When you copy-paste preformatted text from a web page, some versions of Safari replace every space with a no-break space.
You can use the search/replace function of your text editor to replaces these “spaces” with real ones. (or copy the text by hand… or use another browser…)
Save the file, and open [Mounted Disk Image]/buildtools/legacy/gcc/Makefile.in
.
Replace (line 144):
MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \ then echo $$r/texinfo/makeinfo/makeinfo ; \ else echo makeinfo ; fi`
By:
MAKEINFO = `if which -s makeinfo ; \ then echo makeinfo ; \ else echo $$r/texinfo/makeinfo/makeinfo ; fi`
These patches are from the haiku-development mailing list, thank to their authors !
Now, you can compile GCC2 with:
cd /Volumes/Haiku/haiku ./configure --build-cross-tools ../buildtools
If you want to build Haiku with GCC4, use :
./configure --build-cross-tools-gcc4 x86 ../buildtools/
If you do not now which one you should use, choose gcc2 : Original BeOS R5 binaries (and many Haiku optional packages) will not run on a gcc4 build.
./configure
has some more options: use ./configure --help
to list them.
After a (long) time, you should get:
binutils and gcc for cross compilation have been built successfully!
Since on-disk install from Mac OS X does not seems possible at this time, you will need to use an emulation or virtualisation software.
The command:
cd /Volumes/Haiku/haiku jam -q haiku-vmware-image
will build a VMWare disk image: [Mounted Disk Image]/haiku/generated/haiku.vmdk
.
To use it, follow these steps:
[Mounted Disk Image]/3rdparty/vmware/haiku.vmx
inside this folder, and edit the copy.ide0:0.fileName = "haiku.vmdk"
to ide0:0.fileName = "../haiku/generated/haiku.vmdk"
. Save the file.VMWare will create some files in the folder you put haiku.vmx.
If you want easy access to the virtual machine file, make an alias of the haiku.vmx file (or put it into the Dock).
Lanching this alias will mount the disk image and start the VM, automatically. Cool, isn't it ? ;-)
I haven't tested all of them, but Haiku should run in Q (free), Parallels Desktop (commercial) or VirtualBox (free).
Some of them (Parallels, …) can use the VMWare disk image (see above).
For the others, you can create a raw disk image with:
cd /Volumes/Haiku/haiku jam haiku-image
The image will be created in [Mounted Disk Image]/haiku/generated/haiku.image
.
Don't try to hack my System. (0) | 2009.03.12 |
---|---|
Don't try to hack my System. (0) | 2009.03.12 |
Windows와 MAC의 역사 (0) | 2009.03.10 |
Windows와 MAC의 역사 (0) | 2009.03.10 |
윈도우즈에서 걱정하는 백신 프로그램 (1) | 2009.03.10 |
Adobe CS4 licence expire (2) | 2009.03.28 |
---|---|
Adobe 시험버전과 관련된 Adobe Application 다운로드 - CS2 ▸ CS6 (0) | 2009.03.21 |
CS4에 적용된 CUDA기술이 실제로 사용되어지는 가요? (2) | 2009.03.10 |
Adobe CS 설치하는 방법 (0) | 2009.02.26 |
Photoshop Short Key (0) | 2009.02.11 |