linux에서는 gcc에서 옵션으로 지원을 한다고 한다.

AVR Options - Using the GNU Compiler Collection (GCC)

3.17.23 AVR Options

These options are defined for AVR implementations:

-mmcu=mcu
Specify ATMEL AVR instruction set or MCU type.

Instruction set avr1 is for the minimal AVR core, not supported by the C compiler, only for assembler programs (MCU types: at90s1200, attiny10, attiny11, attiny12, attiny15, attiny28).

Instruction set avr2 (default) is for the classic AVR core with up to 8K program memory space (MCU types: at90s2313, at90s2323, attiny22, at90s2333, at90s2343, at90s4414, at90s4433, at90s4434, at90s8515, at90c8534, at90s8535).

Instruction set avr3 is for the classic AVR core with up to 128K program memory space (MCU types: atmega103, atmega603, at43usb320, at76c711).

Instruction set avr4 is for the enhanced AVR core with up to 8K program memory space (MCU types: atmega8, atmega83, atmega85).

Instruction set avr5 is for the enhanced AVR core with up to 128K program memory space (MCU types: atmega16, atmega161, atmega163, atmega32, atmega323, atmega64, atmega128, at43usb355, at94k).

-msize
Output instruction sizes to the asm file.
-minit-stack=N
Specify the initial stack address, which may be a symbol or numeric value, `__stack' is the default.
-mno-interrupts
Generated code is not compatible with hardware interrupts. Code size will be smaller.
-mcall-prologues
Functions prologues/epilogues expanded as call to appropriate subroutines. Code size will be smaller.
-mno-tablejump
Do not generate tablejump insns which sometimes increase code size.
-mtiny-stack
Change only the low 8 bits of the stack pointer.


[링크 : http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/AVR-Options.html]

avrprog는 2001년 6월 이후로 업데이트 안되고 있고, avrdude가 계속 유지 되고 있는 듯 보인다.

[AVRPROG : http://sourceforge.net/projects/avrprog/]
[AVRDUDE : http://savannah.nongnu.org/projects/avrdude]
[gnome-avrdude : http://sourceforge.net/projects/gnome-avrdude]


아쉽게도 AVR Studio는 AVR32(32bit 버전)용 밖에 없다.

  AVR32 GNU Toolchain 2.1.6 - Linux Fedora 9 (27 MB, revision 2.1.6, updated 3/09) RPMs for Fedora Core 9.
  AVR32 Studio 2.1.1 for Linux (249 MB, revision 2.1.1, updated 2/09) AVR32 Studio package for Linux.
[atmel official : http://www.atmel.com/dyn/products/tools.asp?family_id=682]

참고 링크
[링크 : http://picky9.com/blog/entry/223]

Posted by 구차니
개소리 왈왈2009. 4. 7. 09:57
주말에 X-window에 AIGLX에 XDMCP를 이용하여
원격으로 3D 데스크탑을 구현하려는 나의 휘한찬란한 음모에
찬물을 끼얹은 써글놈의 리눅스 같으니라구 ㅠ.ㅠ

그래서 월요일 하루 내내~ 우울하게 있었는데..
어제 검색을 해보니, 나만 그런게 아니더군! 케케케

이러면서 기분 풀려버린 단순한 1인 이었음.. OTL



결론 : 이러다가. GNOME 버리고 KDE 갈지도?!

'개소리 왈왈' 카테고리의 다른 글

333번째 글 기념!  (4) 2009.04.08
봄맞이 스킨 단장  (11) 2009.04.07
잠자기전 주말 결산  (4) 2009.04.06
오 마이 갓! - 쿨러 방향에 주의하세요  (6) 2009.04.05
중고장터 직거래 만세 /ㅁ/  (0) 2009.04.04
Posted by 구차니
Linux/Fedora Core2009. 4. 6. 21:47
여기저기 찾아 보다가 결국에는 GG 때리고 말았는데..
2008년 2월 문서로, KDE에서 kdm을 사용할때는 되는데 GNOME에서 gdm으로는
XDMCP가 열리지 않는 버그가 있다고 한다.
아무튼.. KDE로 시도를 해보던가, 아니면 포기를 하던가 해야겠다..

아니면.. FC6에서는 제대로 되려나..

[링크 : http://forums.fedoraforum.org/showthread.php?t=188130]


아무튼
/etc/X11/gdm/gdm.conf의 에서
/etc/gdm/gdm.conf로 위치가 옮겨졌다.
Posted by 구차니
kscope 를 컴파일 하면서 겪은 경우인데..
Makefile.cvs 혹은 Makefile.am 이라는 정체 불명의 녀석들이 있었다.
당근 make하면 될 줄 알았는데 rule 이 없다고 꾸시렁 꾸시렁 ㄱ-


CVS

  1. Check out the source code.
  2. Change to the KScope directory.
  3. Create the configuration script:

    make -f Makefile.cvs

  4. Configure, compile and install as in the previous section.

[출처 : http://kscope.sourceforge.net/install.shtml]

그래서 찾아 봤더니 이런 -f 옵션이라는것이 존재한다.

+-f file, --file=file, --makefile=FILE
Use file as a makefile.

[링크 : http://linux.die.net/man/1/make]
Posted by 구차니
프로그램 사용2009. 4. 6. 13:30
ctrl - 1
ctrl - 2
ctrl - 3
...
ctrl - 8
ctrl - 9

탭별로 선택이 되는 단축키 입니다!! 짜잔~
총 8개 까지 가능하고 ctrl-9는 마지막 탭으로 이동하는군요!
Posted by 구차니
Linux2009. 4. 6. 13:25
이유는 모르겠지만.. FC9에는 SCIM이 없습니다. -ㅁ-!
하지만 설치시에 한글 지원을 하면 폰트 설치는 되므로 제대로 나오기는 합니다
(단지 입력을 못합니다! 라고 하기에는 '단지' 가 마음에 걸립니다 ㄱ-)

아무튼 FC9에서 소스 설치 했다가 한글이 안나오길래 한참을 고심하다가
패키지 관리자를 통해서 몇가지를 추가해 보았습니다.


위의 패키지 관리자는 패키지 이름을 보면 알겠지만, Fedora Core 6 에서 실행 시킨 것입니다.
물론 FC6에는 한글 SCIM이 제대로 설치 되기에 별 의미는 없지만, 다른 버전에서 SCIM이 없을 때
유용하게 사용할수 있을 것입니다.


현재 설치 되어 있는 패키지 입니다.

scim
scim-hangul
scim-bridge

이 녀석들을 설치 하면 의존성에 의해서 알아서 scim-libs 이런게 설치가 될 것입니다.
Posted by 구차니
Linux2009. 4. 6. 10:43
Xwindow 설정시 현재 설치 되어 있는
그래픽 카드의 슬롯 번호라던가 종류등을 알아 내기 위해사용 한다.

$ /sbin/lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
06:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:09.4 Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
위에는 현재 서버 노트북의 lspci 결과이다.

이녀석이 어떤때 쓰이냐면은..

/etc/X11/xorg.conf 에서
Section "Device"
    Identifier    "Radeon-Cloned"
    Driver        "ati"
    BusID        "PCI:1:0:0"
EndSection

[출처 : http://rtr.ca/dell_i9300/xorg.conf]
이런식으로 사용되고, PCI:1:0:0은 대개 AGP를 의미한다고 한다.


Posted by 구차니
XDMCP uses TCP, UDP port 177 and TCP port 6000 to 6005

Setup X. Do not setup with a resolution higher than what the remote users are able to use for their display. The newer version is now capable of probing the video chipset and determine that for you. Some older (X) version may not! Test the X Server by typing either startx or telinit 5. Make sure X is running properly.

[출처 : http://tldp.org/HOWTO/XDMCP-HOWTO/procedure.html]


일단은 방화벽 부터 처치하고, 한번 다시 시도해 봐야겠다.
그나저나.. 이미 실행되어 있는 Xwindow를 끌어 올 방법은 없나..
Posted by 구차니
개소리 왈왈2009. 4. 6. 01:16
8만원에 업어온 PC에 리눅스 깐다고 주말이 다 가버렸다.

1. Feodra Core 6 설치하고 yum update가 너무 길어서 밀고
2. Fedora Core 9 설치
3. SCIM이 없어서 이거 한다고 생지랄 (한글 입력)
4. 깔고 보니 KDE가 제대로 설치가 안되고 이래저래 엉김
5. 그래서 다시 Fedora Core 9 다시 설치(몇번이나..)
6. 그러다가 전원 부족인가 싶어서 내장 그래픽 S3 Unichrome 하려는데 AIGLX 지원안한다길래 다시 포맷
7. Soundblaster Audigy 2 사운드 카드 있어서 혹시나 설치 했더니 여전한 잡음
8. DVD-combo가 세로로하면 안열리길래 수리한다고 분해했다가 소득없이 시간 낭비
9. AIGLX 구동하려고 NVIDIA legacy 드라이버 몇번이나 하다가 포기
10. VNC 설치 성공했다가 몇번 포맷하고 다시 까니 실패
11. meld(GUI merge) 해보겠다고 이것저것 하다가 겨우 성공
12. kscope 컴파일 실패(KDE 버전 충돌)
13. ponyprog 컴파일 실패(include 파일 버전 다른 듯)


KDE 와 Gnome을 혼합해서 쓰자니 힘들고(버전 충돌 젠장!)
Fedora Core 6에 익숙해져 있다 보니, Fedora Core 9가 되면서 생기는 차이점에 적응이 안되고
(보안이 강화되고 각종 프로그램들이 너무 많이 변경됨.)
그리고 그래픽 카드도 요즘것이 아닌 legacy device이다 보니 잡기도 힘들고(Quadro 2 Pro)
KDE 쪽 프로그램들은 요구하는 라이브러리나 의존성이 많다 보니 복잡하고

그냥.. Fedora Core 6으로 업데이트 왕창하고 그냥 쓸까 라는 생각마저 든다.
보안이 좋긴 해도 글쎄.. 너무 신버전은 쓰기 힘들다..











Posted by 구차니
프로그램 사용/meld2009. 4. 6. 00:50

cygwin/x + putty로 띄운 모습.
일단 이녀석을 컴파일 하려면은 python기반으로 작동하므로  python과 KDE 하위 프로그램인
intl-merge 머시기라는 프로그램이 필요하다. 간단하게 말하자면 이녀석도 KDE 기반이다 라고 볼수 있다.
검색을 해보니 intl-merge는 KDE 기반이라고 하기 보다는 i18n 지원도구 중에 하나로
http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.5.tar.bz2 에서 다운 받을 수 있다.
gnome의 하위 지원 프로그램중 하나인가 보다.

$ make
python tools/install_paths \
                libdir=/usr/local/lib/meld \
                localedir=/usr/local/share/locale \
                helpdir=/usr/local/share/gnome/help/meld \
                sharedir=/usr/local/share/meld \
                < meld > meld.install
python tools/install_paths \
                libdir=/usr/local/lib/meld \
                localedir=/usr/local/share/locale \
                helpdir=/usr/local/share/gnome/help/meld \
                sharedir=/usr/local/share/meld \
                < paths.py > paths.py.install
intltool-merge -d po meld.desktop.in meld.desktop
make: intltool-merge: Command not found
make: *** [meld.desktop] Error 127


공식 홈페이지 말로는
Meld is written with the excellent pygtk toolkit. Python + Glade + Gtk+ is the most productive gui programming environment I've ever used. (And I've used quite a few).
라고 되어 있긴한데, 다국어 지원쪽으로 인해서 KDE에 깔려 있는 유틸리티를 사용 하는 것으로 보인다.

아무튼.. 이녀석은 성공이지만. Kscope를 아직 못해서(KDE 버전 충돌) 좌절중..

[공식 : http://meld.sourceforge.net/]

'프로그램 사용 > meld' 카테고리의 다른 글

meld 자동 줄 바꿈  (0) 2024.07.19
meld for windows 비교 내용이 안나오는 문제  (0) 2014.03.31
meld for windows  (0) 2014.03.31
meld 에서 문법강조 켜기(syntax highlighter on Meld)  (0) 2011.10.15
GUI diff tool - meld  (6) 2009.02.13
Posted by 구차니