Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-25 Thread Apostolos Syropoulos


> Sadly while Nokia seems to want gld/gas, the GCC docs specifically
> recommend using the Sun linker (ld) and the GNU assembler (gas):
> 
> http://gcc.gnu.org/install/specific.html#ix86-x-solaris210
> 
> So a system-wide gcc should probably follow the GCC docs.
>

Well to continue the story after compiling Qt I wanted to
compile backlite 

http://k9copy.sourceforge.net/web/index.php/en/download

However, it seems that this program compiles only
when using the compiler that uses GNU as but Sun ld. 

Regards,
a.s.



--
Apostolos Syropoulos
Xanthi, Greece
http://obelix.ee.duth.gr/~apostolo
http://asyropoulos.wordpress.com
http://hypercomputation.blogspot.com/



- Original Message -
> From: Dustin Marquess 
> To: Discussion list for OpenIndiana 
> Cc: 
> Sent: Monday, May 23, 2011 8:26 PM
> Subject: Re: [OpenIndiana-discuss] compiling qt4 with gcc
> 
> On Thu, May 19, 2011 at 12:25 PM, Apostolos Syropoulos
>  wrote:
>>  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.
> 

> -Dustin
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-23 Thread Dustin Marquess
On Thu, May 19, 2011 at 12:25 PM, Apostolos Syropoulos
 wrote:
> 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.

Sadly while Nokia seems to want gld/gas, the GCC docs specifically
recommend using the Sun linker (ld) and the GNU assembler (gas):

http://gcc.gnu.org/install/specific.html#ix86-x-solaris210

So a system-wide gcc should probably follow the GCC docs.

-Dustin

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-21 Thread L'oiseau de mer
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 

> On Thu, May 19, 2011 at 3:25 PM, Apostolos Syropoulos
>  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@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-19 Thread Gordon Ross
On Thu, May 19, 2011 at 3:25 PM, Apostolos Syropoulos
 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@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-19 Thread Ben Taylor
On Thu, May 19, 2011 at 7:35 PM, Apostolos Syropoulos
 wrote:
>> 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.
>
>
> Now try to compile k9copy! (OK backlite would be enough).
> I would be really surprised to see all these things needed
> to compile with solstudio. In fact, only very very few things
> will compile.

Please. There are approximately 252 packages with spec files
for the KDE4/Solaris project, all built for Studio.

See http://solaris.bionicmutton.org/hg/kde4-specs-460 for the movement
in the repo.

> And that's the reason I need gcc!

talk to me offline.  I'm not familiar with those packages.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-19 Thread Apostolos Syropoulos
> 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.
> 


Now try to compile k9copy! (OK backlite would be enough).
I would be really surprised to see all these things needed
to compile with solstudio. In fact, only very very few things
will compile. And that's the reason I need gcc!

A.S.


--
Apostolos Syropoulos
Xanthi, Greece


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compiling qt4 with gcc

2011-05-19 Thread Ben Taylor
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
 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@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] compiling qt4 with gcc

2011-05-19 Thread Apostolos Syropoulos
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@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss