Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

Thursday, March 8, 2012

OpenMP Continue...;)

다시 새로운 빛 등장.. 두둥...
안드로이드에 보면

LOCAL_CCIf you want to use a different C compiler for this module, set LOCAL_CC to the path to the compiler. If LOCAL_CC is blank, the appropriate default compiler is used.
라는 놈이 있다.. 컴파일러를 바꿔 주는것이다.
4.6 을 쓰기 위한 처절한 노력 끝에 이놈을 쓰기로 결정
지금 내가 하고 있는 프래임 워크 단에서


 # SJIT: Enabling openMP Using different toolchain -Sean2.kim@lge.com
 23 # =================================================================
 24 LOCAL_CC := prebuilt/linux-x86/toolchain/android-toolchain-eabi-4.6.3/bin/arm-linux-androideabi-gcc
 25 LOCAL_LDLIBS := -lpthread -fopenmp
 26 LOCAL_C_INCLUDE := prebuilt/linux-x86/toolchain/android-toolchain-eabi-4.6.3/arm-linux-and    roideabi/lib
 27 # =================================================================

이런식으로 넣어 주고 내가 빌드한 컴파일러 연결
라이브러리 연결
빌드중..
되었으면 좋겠다..
되었으면 좋겠다... 한국 가자 ㅠ

Friday, March 2, 2012

samba uses linked folder;)

If you are using samba, sometimes you need to add linked folder.
you can easily link the folder, however samba will block to access that folder.
What can we do then?

We can easily change samba setting and restart it ;)

$sudo vim /etc/samba/smb.conf 
in the [global] you can easily add
wide links = yes

and restart samba;)
$sudo restart /etc/init.d/smbd

That's it;) you can now browse linked folder... nice..

Fastboot ERROR:???

폰에 시스템이나 붓 이미지를 넣는데 에러가 생겼다라면?
파티션이 모자르다 라고 말한다면?
파일 싸이즈가 너무 크다라면?? 어떻게 해야 할까?

이 상황은 아마 무엇인가 소스를 고치고 파일 크기가 커져서 생기는 경우이다.
원래 빌드가 잘되고 있었다라면;)

파티션 싸이즈는 device 단에 빌드한 디바이스 명칭 아래 보면
BoardConfig.mk 란 파일이 있을것이다 여기에 보면
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912
요런 식으로 파티션 사이즈를 잡아 둔것이 있을것이다.

고럼 한번 ls out/target/product/....../ -al
을 쳐보면 아마 정말 아마 system.img파일크기가 저 크기를 넘기고 있진 않을까?
저 놈만 바꿔 주고 aboot을 넣어 주면 파티션 크기가 바뀌게 된다.. ;)
참 쉽죠잉~

Friday, February 24, 2012

My Computer:)

Intel i7 2600k
Nvidia GTX 570
650W PSU Corsair
1TB HDD + 60GB SSD
8GB DDR3 1600
It runs MW3 MAX, SC2 MAX, TERA MAX setting;)
I am gonna buy H80 - H100 coolmaster's liquid cooler for overclocking
and may change PSU someday ;)

SO waiting for Diablo 3 now