You are here: Re: [PHP] Compilation trouble on OS X « PHP « IT news, forums, messages
Re: [PHP] Compilation trouble on OS X

Posted by Marcus Bointon on 06/09/05 22:43

On 9 Jun 2005, at 18:11, Brent Baisley wrote:

> I'm pretty sure you have to install the developer tools in order to
> get the gcc compiler installed. So while you don't need XCode to
> compile, you do need the developer tools, which is almost
> synonymous with XCode.

Of course I have the developer tools installed - I wouldn't even be
able to attempt a compile without them. XCode is an IDE - it provides
project management and a nice GUI for lower level tools, however, it
is squarely targeted at development of OS X applications that are set
up as XCode projects, which does not include PHP. Bear in mind that
almost none of the thousands of open source projects available via
sources like fink have anything to do with XCode - they're all
designed for a standard unix-style build system using the tools I
mentioned.

> Doesn't 10.4 ship with gcc 4? I know I read about some bugs and
> problem with gcc 4, some specifically related to PPC chips. Do you
> know if you are compiling using 3.3 or 4.0?

I'm using the standard system gcc 4.0.0, but this is a problem with
the parameters (defined in the PHP configure script) passed to ld, so
strictly speaking this is a linking rather than a compiling problem
(i.e. the problem occurs after gcc has finished successfully). It
seems that the OS X ld has different options to the GNU or BSD
implementations, so I guess I'm really after someone that knows ld
well enough.

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация