Hi Alain,

I needed to re-install GNU Prolog on Mac OS X 10.4.1 (Tiger). It appears that it does not compile with gcc 4.0 (the default compiler on Tiger).

The following work around works (although not very elegant) : replace /usr/bin/gcc by a soft link to /usr/bin/gcc-3.3 during the installation/compilation phase, and then revert back to /usr/bin/ gcc soft link to /usr/bin/gcc-4.0.
This is the current workaround on the DarwinPorts portfile for GNU Prolog: use gcc 3.3 instead of the default gcc 4.0. However, there is no need to manually replacing/changing soft links. Apple provides a command that allows you to set the default version of the gcc compiler. Just type:

    % man gcc_select

to lear how to use it.

Cheers,

Paulo


-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Informatics                   Office 4.3  Ext. 3257
University of Beira Interior          Phone: +351 275319700
6201-001 Covilh�                      Fax:   +351 275319899
Portugal

<mailto:[EMAIL PROTECTED]>
<http://www.di.ubi.pt/~pmoura>     <http://www.logtalk.org>
-----------------------------------------------------------




_______________________________________________
Bug-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-prolog

Reply via email to