You are here: Re: [PHP] Compiling the example hello world extension on OSX with PHP 5.1 « PHP « IT news, forums, messages
Re: [PHP] Compiling the example hello world extension on OSX with PHP 5.1

Posted by Dan Rossi on 07/07/05 05:39

On 07/07/2005, at 12:29 PM, Rasmus Lerdorf wrote:
>
> Well, where is it? Probably in a libs or .libs directory.
>
> -Rasmus
>
>

You aint the Demigod for nothing you know :P

iElectro:/usr/share/php-5.1.0b2/ext/hello root# gcc -dynamic
-flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC
-I/usr/share/php-5.1.0b2/ext/hello/include
-I/usr/share/php-5.1.0b2/ext/hello/main
-I/usr/share/php-5.1.0b2/ext/hello -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/sw/include -DHAVE_CONFIG_H -I/sw/include -L/sw/lib -o hello.so
..libs/hello.o

This worked ;)


Ok I feel great pain trying to do things like this on the mac, ie
apache2 wont compile so fink is the only option, I know, i'm gonna get
my noisy Sun rack going again however development on the powerbook
rocks :)

 

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

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