GNAT-GCC

View: New views
3 Messages — Rating Filter:   Alert me  

GNAT-GCC

by Vincent DIEMUNSCH :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everybody,

Little questioni regarding GNAT-GCC :

If I install this port, what will be the default compiler for MacPorts ? and for the rest
of the system ? (XCode for instance). And what if I install or re-install XCode ?

Is it safe enough to use this gcc instead of the one provided by Apple ?

Thanks for your responses.

Vincent
OSX 10.6.1
Intel 32 bits
.

_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: GNAT-GCC

by Ryan Schmidt-24 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 21, 2009, at 04:51, Vincent DIEMUNSCH wrote:

> Little questioni regarding GNAT-GCC :
>
> If I install this port, what will be the default compiler for  
> MacPorts ? and for the rest
> of the system ? (XCode for instance). And what if I install or re-
> install XCode ?

Nothing will change on those counts by installing gnat-gcc or any  
other port. Ports will use Apple's gcc 4.0 on Tiger and Leopard and  
Apple's gcc 4.2 on Snow Leopard -- unless the port requests otherwise.


> Is it safe enough to use this gcc instead of the one provided by  
> Apple ?

I haven't used it. Presumably you would use gnat-gcc if you need the  
special features it offers, and otherwise you would use Apple's gcc or  
one of the standard gcc4* ports.


_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: GNAT-GCC

by Vincent DIEMUNSCH :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Ryan for your response.

What are the differences between Apple's gcc and the standard gcc 4.* ports ?
And to use gnat-gcc, I simply need to invoke gnatmake or do I need to use gcc-select ?

Vincent

2009/10/22 Ryan Schmidt <ryandesign@...>
On Oct 21, 2009, at 04:51, Vincent DIEMUNSCH wrote:

Little questioni regarding GNAT-GCC :

If I install this port, what will be the default compiler for MacPorts ? and for the rest
of the system ? (XCode for instance). And what if I install or re-install XCode ?

Nothing will change on those counts by installing gnat-gcc or any other port. Ports will use Apple's gcc 4.0 on Tiger and Leopard and Apple's gcc 4.2 on Snow Leopard -- unless the port requests otherwise.



Is it safe enough to use this gcc instead of the one provided by Apple ?

I haven't used it. Presumably you would use gnat-gcc if you need the special features it offers, and otherwise you would use Apple's gcc or one of the standard gcc4* ports.




_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users