Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, December 2006
getting gcc 4.2 on macosx & compiling Qt on it


Message 1 in thread

Hi all,

Please do you know where to get the latest gcc 4.2 on macosx and be able 
to compile Qt on it.

For now, I get the snapshot from gcc.gnu.org and compiled on my macosx 
intel, but the options for apple are missing :-(
( cc1plus: error: unrecognized command line option "-fconstant-cfstrings" )

Please help me
Thanks a million in advance

--
 [ signature omitted ] 

Message 2 in thread

On Dec 11, 2006, at 3:36 AM, epsilon68 wrote:

> Please do you know where to get the latest gcc 4.2 on macosx and be  
> able to compile Qt on it.

The best place is directly from Apple. You could look for a Fink  
package, or Google to see if anyone has successfully done a 4.2 GCC  
build from source.

Brad

-- 
 [ signature omitted ] 

Message 3 in thread

Brad Howes wrote:
> On Dec 11, 2006, at 3:36 AM, epsilon68 wrote:
> 
>> Please do you know where to get the latest gcc 4.2 on macosx and be 
>> able to compile Qt on it.
> 
> The best place is directly from Apple. You could look for a Fink 
> package, or Google to see if anyone has successfully done a 4.2 GCC 
> build from source. 
> 
> Brad
> 

I success to compile from sources but it seems it doesn't contain the 
special options for apple, and Qt misses these options to compile.

very annoying I would like to use openmp...

I didn't find anything on the net concerning gcc and apple and where I 
could get the sources from apple...
fink has a old version of gcc 4.2  and I would like the latest version

any idea ?



--
 [ signature omitted ] 

Message 4 in thread

Hi,

> any idea ?

I don't know how important this "-fconstant-cfstrings" option is. You 
could try building without it...

--
 [ signature omitted ] 

Message 5 in thread

Dimitri wrote:
> Hi,
> 
>> any idea ?
> 
> I don't know how important this "-fconstant-cfstrings" option is. You 
> could try building without it...
> 
> -- 
> Dimitri

I tried and it is not good at all :(

I didn't success to find the apple sources, means I think they are 
waiting for the commercial release of Leopard to make the gcc source 
available. I would simply like to know if OpenMP will be included ...

Is there someone who knows ?

--
 [ signature omitted ]