[OpenIndiana-discuss] compiling qt4 with gcc

Gordon Ross gordon.w.ross at gmail.com
Thu May 19 19:43:13 UTC 2011


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...



More information about the OpenIndiana-discuss mailing list