[kde-solaris] Re: Solaris unistd.h
Hans Meine
meine at kogs1.informatik.uni-hamburg.de
Wed Jan 28 13:47:16 CET 2004
Hi again,
and thanks for your reaction, Stefan.
*** COMPILER ***
I am using gcc-2.95.3 on 32bit machines AFAIK (never saw anything special, is
"checking size of long... 4" a valid proof? I thought that my uname -a output
would already contain that information: "SunOS kogs1 5.8 Generic_108528-26
sun4u sparc SUNW,Ultra-250" AFAIK the machines are called Ultra-250? We also
have SunBlade150's around, but I always thought all those were still 32bit?)
*** KDE CONFIGURATION ***
kdenetwork is configured with
DO_NOT_COMPILE="kppp lanbrowsing" ../../kdenetwork/configure --disable-debug
--prefix=/software/kde-3.2cvs --exec-prefix=/software/kde-3.2cvs/SunOS-5.8
--with-extra-includes=/software/tiff-v3.5.5/include:/software/libpng-1.2.5/include:/software/jpeg-6b/include:/software/zlib-1.1.4/include:/software/openssl-0.9.6g/SunOS-5.6/include:/software/kde-3.2cvs/include
--with-extra-libs=/software/tiff-v3.5.5/SunOS-5.8/lib:/software/libpng-1.2.5/SunOS-5.8/lib:/software/jpeg-6b/SunOS-5.6/lib:/software/zlib-1.1.4/SunOS-5.8/lib:/software/openssl-0.9.6g/SunOS-5.8/lib:/software/kde-3.2cvs/SunOS-5.8/lib
--with-qt-dir=/software/qt-3.2.3/SunOS-5.8
which gave the following requested flags:
CFLAGS: -DNDEBUG -O2
CXXFLAGS: -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION
CPPFLAGS: -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64
X_LDFLAGS: [empty]
USER_LDFLAGS: -L/software/tiff-v3.5.5/SunOS-5.8/lib
-L/software/libpng-1.2.5/SunOS-5.8/lib -L/software/jpeg-6b/SunOS-5.6/lib
-L/software/zlib-1.1.4/SunOS-5.8/lib -L/software/openssl-0.9.6g/SunOS-5.8/lib
-L/software/kde-3.2cvs/SunOS-5.8/lib
QT_LDFLAGS: -L/software/qt-3.2.3/SunOS-5.8/lib,
KDE_LDFLAGS: -L/software/kde-3.2cvs/SunOS-5.8/lib,
SSL_LDFLAGS: -L/software/openssl-0.9.6g/SunOS-5.8/lib
-R/software/openssl-0.9.6g/SunOS-5.8/lib
*** QT CONFIGURATION ***
I am using Qt-3.2.3 which was compiled with gcc-2.95.2 (not 2.95.3 as above)
and called Qt's configure with "-platform solaris-g++" among dozens of other
options:
./configure -thread -verbose -stl -nis -fast -platform solaris-g++ \
-prefix "$PREFIX" \
-bindir "$EXECPREFIX/bin" \
-libdir "$EXECPREFIX/lib" \
-plugindir "$EXECPREFIX/plugins" \
-plugin-imgfmt-mng \
-qt-gif \
-system-zlib \
-I/software/zlib-1.1.4/include \
-L/software/zlib-1.1.4/$PLATFORM/lib \
-system-libpng \
-I/software/libpng-1.2.5/include \
-L/software/libpng-1.2.5/$PLATFORM/lib \
-system-libjpeg \
-I/software/jpeg-6b/include \
-L/software/jpeg-6b/$PLATFORM/lib \
-system-libmng \
-I/software/libmng-1.0.5/include \
-L/software/libmng-1.0.5/$PLATFORM/lib \
The QMake-flags output by configure are:
qmake vars ...... "QT_PRODUCT=qt-free" "styles += windows motif mac platinum
sgi cde motifplus" "kbd-drivers += tty" "mouse-drivers += pc"
"QMAKE_MOC=/software/qt-3.2.3/source/qt-x11-free-3.2.3/bin/moc"
"QMAKE_UIC=/software/qt-3.2.3/source/qt-x11-free-3.2.3/bin/uic -L
$$QT_BUILD_TREE/plugins"
"QMAKE_QMAKE=/software/qt-3.2.3/source/qt-x11-free-3.2.3/bin/qmake"
"QMAKE_MOC_SRC=/software/qt-3.2.3/source/qt-x11-free-3.2.3/src/moc"
"QMAKE_INCDIR_QT=/software/qt-3.2.3/source/qt-x11-free-3.2.3/include"
"QMAKE_LIBDIR_QT=/software/qt-3.2.3/source/qt-x11-free-3.2.3/lib"
"QMAKE_RTLDIR_QT=/software/qt-3.2.3/SunOS-5.8/lib"
"OBJECTS_DIR=.obj/release-shared-mt" "MOC_DIR=.moc/release-shared-mt"
"QMAKE_LIBS_QT+=-lpng" "QMAKE_LIBS_QT_THREAD+=-lpng" "QMAKE_LIBS_QT+=-lz"
"QMAKE_LIBS_QT_THREAD+=-lz" "QMAKE_LIBDIR_FLAGS+=
-L/software/zlib-1.1.4/SunOS-5.8/lib -L/software/libpng-1.2.5/SunOS-5.8/lib
-L/software/jpeg-6b//lib -L/software/libmng-1.0.5/SunOS-5.8/lib"
"QMAKE_CFLAGS+= -I/software/zlib-1.1.4/include
-I/software/libpng-1.2.5/include -I/software/jpeg-6b/include
-I/software/libmng-1.0.5/include" "QMAKE_CXXFLAGS+=
-I/software/zlib-1.1.4/include -I/software/libpng-1.2.5/include
-I/software/jpeg-6b/include -I/software/libmng-1.0.5/include"
"QT_INSTALL_PREFIX=/software/qt-3.2.3" "docs.path=/software/qt-3.2.3/doc"
"headers.path=/software/qt-3.2.3/include"
"plugins.path=/software/qt-3.2.3/SunOS-5.8/plugins"
"libs.path=/software/qt-3.2.3/SunOS-5.8/lib"
"bins.path=/software/qt-3.2.3/SunOS-5.8/bin" "data.path=/software/qt-3.2.3"
"translations.path=/software/qt-3.2.3/translations"
qmake switches ..
Configuration ....... nocrosscompiler minimal-config small-config
medium-config large-config full-config styles tools kernel widgets dialogs
iconview workspace network canvas table xml opengl sql release dll thread
largefile stl system-mng system-jpeg system-png png gif system-zlib nis
bigcodecs x11sm xkb
STL support ......... yes
Thread support ...... yes
NIS support ......... yes
CUPS support ........ no
Large File support .. partial
GIF support ......... yes
MNG support ......... plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
zlib support ........ system
OpenGL support ...... yes
NAS sound support ... no
Session management .. yes
Xinerama support .... no
Tablet support ...... no
Xcursor support ..... no
XRandR support ...... no
XRender support ..... no
Xft support ......... no
XKB Support ......... yes
And finally, qt-x11-free-3.2.3/mkspecs/solaris-g++/qmake.conf contains the
following lines that seem to be relevant:
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w
QMAKE_CFLAGS_RELEASE = -O2
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_SHLIB = -fPIC
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
QMAKE_CFLAGS_THREAD = -D_REENTRANT
QMAKE_INCDIR_X11 = /usr/openwin/include
QMAKE_LIBDIR_X11 = /usr/openwin/lib
QMAKE_INCDIR_OPENGL = /usr/openwin/include
QMAKE_LIBDIR_OPENGL = /usr/openwin/lib
QMAKE_LIBS_DYNLOAD = -ldl
QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
QMAKE_LIBS_X11SM = -lSM -lICE
QMAKE_LIBS_NIS =
QMAKE_LIBS_QT = -lqt
QMAKE_LIBS_QT_THREAD = -lqt-mt
QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu
QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
QMAKE_LIBS_THREAD = -lpthread -lrt
Ciao, / /
/--/
/ / ANS
PS: Sorry for broken threading - I had not subscribed this time. :-}
More information about the kde-solaris
mailing list