[OpenIndiana-discuss] compiling qt4 with gcc

L'oiseau de mer oiseaumer at gmail.com
Sat May 21 09:28:13 UTC 2011


today i have build QT-4.7.3 with gcc in Solaris 10 x86 succeed.
i build it without examples/ demo/ dirs, modified the Makefile,
delete all the action that enter the "examples" dir.

and i packaged it to SVR4 pkg, it can download from here:
http://www.openfoundry.org/of/projects/1201/download


2011/5/20 Gordon Ross <gordon.w.ross at gmail.com>

> On Thu, May 19, 2011 at 3:25 PM, Apostolos Syropoulos
> <asyropoulos at yahoo.com> wrote:
> > Hello,
> >
> > The last few days I tried to compile Qt 4.7.3 (i.e., the latest
> >
> > stable version). I wanted to use gcc in order to be able to
> > compile other things that, to the best of my knowledge, do
> > not compile with solstudio. I have used 4.5.3 and then 4.6.0
> > but it failed.
>
> Can you please provide some more information about the
> failures you observed?
>
>  However, the instructions in the following page
> >
> > http://doc.qt.nokia.com/4.7-snapshot/platform-notes-x11.html
> >
> > are very clear: one needs to use gcc that makes use of GNU ld
> > and GNU as. So I recompiled gcc 4.6.0 with, among others, the
> >
> > following options:
> > --with-gnu-ld --with-ld=/usr/gnu/bin/ld
> > --with-gnu-as --with-as=/usr/sfw/bin/gas
> >
> > Next, the resulting compiler was used to successfully compile Qt.
> > Problem solved!
> >
> > Now, I believe that if the system is going to include the gcc
> > compiler (I mean a recent version not the ancient one...),
> > then this compiler must be compiled so to use GNU ld and GNU as.
>
> Usually, that causes more problems than it solves...
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the OpenIndiana-discuss mailing list