[OpenIndiana-discuss] compiling qt4 with gcc

Ben Taylor bentaylor.solx86 at gmail.com
Thu May 19 19:29:00 UTC 2011


Builds fine with Sol Studio 12U1.  Quite a few patches needed to
fix issues, and most of the qt/webkit ones have been pushed to
trunk so next release we should be able to dump them.

Ben


On Thu, May 19, 2011 at 7: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. 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.
>
> A.S.
>
> ----------------------
> Apostolos Syropoulos
> Xanthi, Greece
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



More information about the OpenIndiana-discuss mailing list