1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- This file describes how to install KTIGCC.
- A. Installing KTIGCC from RPMs
- ==============================
- The recommended installation method for Fedora is to use the provided RPMs.
- WARNING: This section is ONLY for Fedora Core 6 (and possibly later versions,
- though this is not guaranteed to work) users. If you're not running
- FC6 (or later), please skip to the next section.
- 1. Obtain the required prerequisites:
- 1.1. The following RPMs from Fedora Core or Extras are required:
- glib2 (used by libti*)
- qt (NOT qt4)
- qt-devel (for the Qt Assistant help file viewer)
- kdelibs (obviously), version 3.5.2 or higher
- kdebase (required for some features), version 3.5.2 or higher
- ctags (to locate C functions/prototypes)
- These can be installed with:
- yum install glib2 qt-devel kdebase ctags
- 1.2. The following RPMs packaged by me are required:
- tigcc and ktigcc-completion-data - can be obtained from
- http://tigcc.ticalc.org/linux/
- libticables2, libtifiles2, libticalcs2 and libticonv - can be obtained
- from http://sourceforge.net/project/showfiles.php?group_id=23169
- 2. Install KTIGCC:
- For i386 (32-bit x86) architectures:
- rpm -Uvh tigcc*.i386.rpm ktigcc-completion-data*.noarch.rpm libti*.i386.rpm ktigcc*.i386.rpm
- For x86_64 (64-bit AMD64/EM64T) architectures:
- rpm -Uvh tigcc*.x86_64.rpm ktigcc-completion-data*.noarch.rpm libti*.x86_64.rpm ktigcc*.x86_64.rpm
- (RPMs are currently available only for the i386 and x86_64 architectures.)
- 3. KTIGCC should now show up in the menu. If it doesn't and you're running KDE,
- try:
- dcop kded kbuildsycoca "recreate()"
- It can also be found in /usr/local/tigcc/bin, which should be in your $PATH,
- so running ktigcc from an X11 terminal will also work.
- B. Installing KTIGCC from source
- ================================
- 1. Obtain and install the required prerequisites:
- glib2 (*)
- Qt 3 (*) (NOT Qt 4)
- kdelibs from KDE 3, version 3.5.2 or higher (*) (NOT KDE 4, which is not even
- alpha at the time I'm
- writing this)
- kdebase from KDE 3 (should be the same version as kdelibs)
- Qt 3 Assistant (often included in qt or qt-devel packages)
- pkg-config
- Exuberant Ctags - can be obtained from http://ctags.sourceforge.net
- libticables2 (*), libtifiles2 (*), libticalcs2 (*) and libticonv (*) - can be
- obtained from http://sourceforge.net/project/showfiles.php?group_id=23169
- TIGCC/*nix and TIGCCLIB completion data for KTIGCC (ktigcc-completion-data) -
- can be obtained from http://tigcc.ticalc.org/linux/
- (*) If your distribution provides both a runtime and a -devel or -dev version
- of these packages, the -devel or -dev version is also needed.
- 1.1. Installation instructions for libti*
- The libti* libraries are standard autotools projects, they should build
- and install just fine with:
- ./configure
- make
- make install
- 1.2. Installation instructions for TIGCC/*nix
- Please refer to the INSTALL document coming with the TIGCC/*nix source
- tarball. The main stumbling blocks:
- * You have to fetch the GCC and GNU as sources separately and symlink
- the extracted versions to download/gcc.ti and download/binutils.ti
- respectively.
- * There is no configure script or makefile. Instead, do this:
- cd scripts
- ./Install
- and an interactive wizard will prompt you for everything else.
- This procedure is described in detail in the TIGCC/*nix INSTALL file.
- 1.3. Installation instructions for ktigcc-completion-data
- The tarball contains a file named "completion". This file should be
- extracted to `kde-config --expandvars --install data`/ktigcc/ (usually
- /usr/share/apps/ktigcc/).
- 2. qmake
- (You can run ./configure, but that just runs qmake.)
- WARNING: You need Qt 3 qmake.
- 3. make
- 4. make install
- 5. KTIGCC can now be found in your $TIGCC/bin directory.
|