Strona poświęcona oprogramowaniu dla QNX 6.4

New:    
QNX 6.4.1:
         QT 4.5.1: the first wersion qt4.5.1 for QNX64.1 compiling in pkgrsc/X11
                         
qt4-libs.tar.bz2  qt4-tools.tar.bz2
                          and binary - /usr/pkg/qt4:
                         
qt4-4.5.1.qnx641.b1.tar.bz2
                          qt4-4.5.1.lib1.qnx641.b1.tar.bz2qt4-4.5.1.lib2.qnx641.b1.tar.bz2
                                       qt4-4.5.1.doc1.qnx641.b1.tar.bz2
                         
qt4-4.5.1.doc2.qnx641.b1.tar.bz2 
                         
qt4-4.5.1.doc3.qnx641.b1.tar.bz2 
                                       qt4 work with XPhoton and X.org from pkgrsc.
                                         
         Compiler:
                           gcc, c++, gnat, gfortran, objc - 4.4.0
release version
                           gcc4.4.0-x86-qnx6.4.1.tar.bz2  g++4.4.0-x86-qnx6.4.1.tar.bz2  
                                        gcc4.4.0 works both in QNX 6.4.0 and QNX 6.4.1.
            the libraries ppl, libiconv, gmp, mpfr are necessary to the correct work gcc4.4.0
            Library:  
                          ppl-0.10.2-qnx6.4.0.bin.tar.bz2
                         
libiconv-1.13-x86-qnx6.4.0.bin.tar.bz2
                          gmp-4.3.0-qnx640.bin.tar.bz2 ,  mpfr-2.4.1-qnx640.bin.tar.bz2
                                       gmp-4.3.0-qnx640-generic.bin.tar.bz2
                         
mpfr-2.4.1-qnx640-generic.bin.tar.bz2

            sources   => kompilacja.txt
                          gettext-0.17-x86-qnx6.4.0.bin.tar.bz2

Configure-gmp:
./configure --enable-assert --enable-cxx --enable-mpbsd LDFLAGS="-L/lib -L/usr/local/lib"
                 2>&1 | tee Konfig.log
   
CC=gcc-4.4.0, CFLAGS=-m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
    gmp-4.3.0-qnx640-generic.bin.tar.bz2 compiling with -mtune=generic not core2
Configure-mpfr:
./configure LDFLAGS="-L/usr/local/lib -L/lib" CPPFLAGS=-I/usr/local/include 2>&1 | tee Konfig.log
   
CC=gcc-4.4.0, CFLAGS=-m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
gmp, mpfr => in configure change od -b to od -t o1
    mpfr-2.4.1-qnx6.4.0-generic.bin.tar.bz2
compiling with -mtune=generic not core2
    
1. ./configure ...........  2>&1 | tee Konfig.log
2. make 2>&1 | tee CC.log
3. mkdir installdir
    make DESTDIR=$(pwd)/installdir install 2>&1 | tee Install.log
   or/and        
   make install 2>&1 | tee INSTALL.log
5. make check 2>&1 | tee Check.log


           GCC
4.5.0:
gcc-4.5-20090413 - c, c++, gnat, gfortran, objc  binary

The problem when compile c ++ :
the small test program test.cpp:
#include <stdio.h>
#include <stdexcept>
int main(int argc, char* argv[])
{
    try
    {
    throw std::runtime_error("Test");
    }
    catch(std::runtime_error& err)
    {
    fprintf(stderr, "%s\n", err.what());
    }
    return 0;
}
# g++ -otest test.cpp
# ./test
unknown symbol: _Unwind_Resume_or_Rethrow
unknown symbol: _Unwind_RaiseException
unknown symbol: _Unwind_GetLanguageSpecificData
unknown symbol: _Unwind_Resume
unknown symbol: _Unwind_DeleteException
unknown symbol: _Unwind_GetTextRelBase
unknown symbol: _Unwind_SetIP
unknown symbol: _Unwind_GetDataRelBase
unknown symbol: _Unwind_GetRegionStart
unknown symbol: _Unwind_SetGR
unknown symbol: _Unwind_GetIPInfo
unknown symbol: _Unwind_Resume
Could not resolve all symbols
This is, because the started program test finds libstdc++.so.6 library in /lib directory and not in the
/usr/local/lib/gcc/i386-pc-nto-qnx6.4.0/4.5.0 directory
The solution of this problem  is
1)  # LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH;./test
        Test
2) or
    cp  /lib/libstdc++.so.6  /lib/libstdc++.so.6.org
    cp  /usr/local/lib/gcc/i386-pc-nto-qnx6.4.0/4.5.0/libstdc++.so.6  /lib/libstdc++.so.6
we should remember, that different compiler (c++ 4.2.4) can require the return change:
     cp
/lib/libstdc++.so.6.org  /lib/libstdc++.so.6
3) or  create
 Test:
          LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
          ./test
and run ./Test
  TEST
============================================================
OLD

             Gnat GPL2008 basis on gcc 4.1.3 - https://libre.adacore.com/
                                 gnat-GPL2008-x86-qnx6.3.2-bld1.tar.bz2

           Mplayer - experimental   Mplayer.tar.bz2

                                                       Mplayer-generic.tar.bz2 compile with -O3 -mtune=generic 
            and SDL-1.2 - ./configure --disable-video-x11 2>&1 | tee KonfigSDL-1.2.log
                           SDL-1.2-x86-qnx6.3.2-bld1.tar.bz2
=============================================================================================================
            
          Compilation of the  gcc 4.2.x using qcc 3.3.5

                 GTK -  new
     
     

        
         
                  GtkAda  - new
       
        
     examples for gnat            examples - it's work with  gnat-GPL2006 and gnat 4.1.2

           examples3.4.5.tar.bz2      it's working  with gnat3.4.4 too
     gprolog 1.3.1 for QNX
   
      gprolog-1.3.1.tar.bz2
           it is the gprolog sources with change for QNX
           use configure make and make install     
            http://gprolog.univ-paris1.fr/

Kontakt ze mną bceler@op.pl lub bogdan@xserwis.com.pl

Free Web Counter
Free Web Counter