'KScope'에 해당되는 글 5건

  1. 2009.11.04 kscope 에서 특정 확장자 추가하기
  2. 2009.08.20 kscope 프로젝트 생성하기
  3. 2009.04.24 kscope on Ubuntu 8.10
  4. 2009.04.20 kscope OTL
  5. 2009.03.24 cygwin, cygwin/x, KDE-cygwin

kscope 기본적으로 *.c와 *.h에 대한 검색을 사용합니다.


Project Properties를 보면 Filetype에 기본값으로는 *.c와 *.h만 있는데
개발시에 Makefile 등의 다른 파일도 추가해야 한다면
우측의 Available Types의 Editbox에 원하는 확장자를 입력하고 "<< Add"를 누르면 This Project에 추가가 됩니다.


추가 후 Add/Remove files 의 Filter에 추가된 확장자를 확인하실 수 있습니다.

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

ctags 제약사항  (0) 2011.10.28
kscope 프로젝트 생성하기  (0) 2009.08.20
ctags format - CTAGS 출력 포맷/양식  (0) 2009.06.14
ctags  (0) 2009.01.07
Posted by 구차니
kscope는 KDE용 cscope의 GUI 프로그램이다.
솔찍히 대충써봐서인지 자세히는 모르겠지만
결과적으로 source insight를 대체하기에는 너무나 부족한 감이 든다.
물론 추적기능이라던가, 여러가지 있지만, 자동추적 기능이 없기 때문에 공백이 크게 느껴지는 것 같다.

아래는 kscope의 Project 메뉴이다.


Create Project를 하면 아래와 같은 dialog 창이 뜬다.

위에는 프로젝트의 이름( = 프로젝트 디렉토리의 이름)을 넣고
아래에는 프로젝트 디렉토리가 저장될 경로를 넣는다.
colinux portable ubuntu / ubuntu 9.04 에서 해봤는데,
/home이 아닌 곳에서는 아래와 같은 에러가 나므로, 되도록이면 $HOME(사용자 디렉토리) 에 생성하도록 한다.


프로젝트를 생성후, 소스 트리에서 소스파일들을 추가해준다.
Add/Remove files에 들어가면 아래와 같은 Dialog창으 뜨게 되고,
Add 에서 Directory 등을 이용해 파일을 추가한다. (이 부분은 source insight와 거의 유사하다)


만약에 *.c *.h 외에 다른 확장자가 필요하다면,
초기 프로젝트 생성시에 File Types에서 추가를 해주거나
Project 메뉴의 Project Properties에서 추가를 해주면 된다.


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

ctags 제약사항  (0) 2011.10.28
kscope 에서 특정 확장자 추가하기  (0) 2009.11.04
ctags format - CTAGS 출력 포맷/양식  (0) 2009.06.14
ctags  (0) 2009.01.07
Posted by 구차니
Linux/Ubuntu2009. 4. 24. 01:32
kate 패키지가 패키지 매니저에서 제대로 설치 되지 않기 때문에
kscope가 제대로 실행되지 않는다.

그런 이유로 아래의 패키지를 받아서 설치 해야 한다.

kate_3.5.9.dfsg.1-6_alpha.deb 822 KB 2008년 12월 16일 18시 32분 00초
kate_3.5.9.dfsg.1-6_amd64.deb 819 KB 2008년 12월 05일 00시 17분 00초
kate_3.5.9.dfsg.1-6_arm.deb 773 KB 2008년 12월 05일 21시 17분 00초
kate_3.5.9.dfsg.1-6_armel.deb 778 KB 2008년 12월 04일 23시 47분 00초
kate_3.5.9.dfsg.1-6_hppa.deb 840 KB 2008년 12월 09일 06시 47분 00초
kate_3.5.9.dfsg.1-6_i386.deb 806 KB 2008년 12월 03일 21시 17분 00초
kate_3.5.9.dfsg.1-6_ia64.deb 919 KB 2008년 12월 04일 06시 17분 00초
kate_3.5.9.dfsg.1-6_mips.deb 769 KB 2008년 12월 04일 09시 17분 00초
kate_3.5.9.dfsg.1-6_mipsel.deb 763 KB 2008년 12월 04일 21시 32분 00초
kate_3.5.9.dfsg.1-6_powerpc.deb 822 KB 2008년 12월 04일 14시 02분 00초
kate_3.5.9.dfsg.1-6_s390.deb 829 KB 2008년 12월 04일 11시 17분 00초
kate_3.5.9.dfsg.1-6_sparc.deb 790 KB 2008년 12월 04일 21시 32분 00초

[링크 : ftp://ftp.debian.org/debian/pool/main/k/kdebase/]

나의 경우에는 펜티엄4 이므로 i386을 설치 하면된다.

$ file /usr/local/lib/*
libkateinterfaces.so.0:     symbolic link to `libkateinterfaces.so.0.0.0'
libkateinterfaces.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
libkateutils.so.0:          ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
python2.5:                  setgid directory

i386 패키지를 섩치하면 x86-64 버전으로 설치가 된다.


그리고  kscope를 실행하면~


쨔잔~ 이렇게 나온다(아직 쓸줄은 모른다 ㅠ.ㅠ)


[발견 : http://mtsparrow.blogspot.com/2009/02/ubuntu-810-64bit-kscope.html]
[원본 : http://blog.naver.com/sglinux2418/60214557]

'Linux > Ubuntu' 카테고리의 다른 글

gnome-avrdude 컴파일하기  (6) 2009.04.27
ubuntu와 fedora의 비교  (0) 2009.04.26
Ubuntu에 VNC 설정하기  (0) 2009.04.25
우분투 설치중  (6) 2009.04.24
ubuntu 8.10 설치 실패.. 아놔 CD 관리 ㅠ.ㅠ  (2) 2009.04.23
Posted by 구차니

Requirements

For running KScope:
  1. The KDE runtime libraries, version 3.3 or above
  2. The Qt runtime libraries, as required by the installed KDE version
  3. Cscope
  4. Exuberant Ctags (KScope will not work with other variants of Ctags)
  5. Graphviz (required as of KScope version 1.3.0).

위에 보이듯이 version 3.3 이상의 QT가 필요 하다는데.. (KDE 3.3)
문제는 요즘꺼는 KDE 4 이다 보니, 제대로 호환이 되지 않아 컴파일시에
kateinterface 쪽에서 문제가 발생한다.

[링크 : http://sourceforge.net/forum/forum.php?thread_id=2574152&forum_id=338423]

아직까지 Kscope가 KDE4에 맞게 나오지 않았고, 나오기 까지는 상당시간이 걸릴것으로 예상이 된다.
그냥.. 다른걸 사용하도록 해야할듯 하다.
Posted by 구차니
cygwin은 윈도우에서 리눅스를 돌려주는 일종의 에뮬레이터이다.

What Is Cygwin?

Cygwin is a Linux-like environment for Windows. It consists of two parts:
  • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
  • A collection of tools which provide Linux look and feel.

    The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.

    Note that the official support for Windows 95, Windows 98, and Windows Me will be discontinued with the next major version (1.7.0) of Cygwin, which is in beta testing right now.


  • What Isn't Cygwin?

  • Cygwin is not a way to run native linux apps on Windows. You have to rebuild your application from source if you want it to run on Windows.
  • Cygwin is not a way to magically make native Windows apps aware of UNIX ® functionality, like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

  • 일단 찾아 보니 cygwin에 이식된 QT도 있으니,
    한번 소스를 받아서 cygwin + cygwin/x + KDE-cygwin + kscope 를 해봐야겠다.

    -- platfrom --
    [cygwin : http://www.cygwin.com/]
    [cygwin/x : http://x.cygwin.com/]
    [KDE-cygwin : http://kde-cygwin.sourceforge.net/]

    -- kscope subsystem --
    [ctags : http://ctags.sourceforge.net/]
    [cscope : http://cscope.sourceforge.net/]
    [kscope : http://kscope.sourceforge.net/]
    [graphviz : http://www.graphviz.org/]

    -- valgrind --
    [valgrind : http://valgrind.org/]
    [KCachegrind : http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindIndex]
    Posted by 구차니