[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-solaris
Subject: Re: [kde-solaris] Re: Solaris unistd.h
From: Rolf Sponsel <Rolf.Sponsel () kstr ! lth ! se>
Date: 2004-01-29 11:51:25
Message-ID: 4018F3BD.2020300 () kstr ! lth ! se
[Download RAW message or body]
Hi Hans!
In an attempt to provide a quick response
(with the reservation that I have misunder-
stood something - but then I'm sure someone
will correct me :-) ), all the ultras are
built with 64-bit architecture, *but* if
you are using Solaris 7 then they run only
32-bit code. If they on the other hand run
Solaris 8,9,etc, then they can run either
applications compiled for either 32-bit or
64-bit (or both). Which one you run will
only depend on how you did compile the your
applicaton.
Now I guess. If you don't specify any particular
64-bit options when compiling your application
then 32-bit mode probably is the default (at
least for Solaris 8, dunno about 9).
Size of long = 4 most likely means that your
long integers are build out of 4 bytes, i.e.
of 32-bit length (which should indicate that
your application is built as a 32-bit app).
Hope this helps!
Regards / Rolf
Hans Meine wrote:
> 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. :-}
>
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
--
----
------
--------
Rolf Sponsel
___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_
___________________________________________________
This message is from the kde-solaris mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic