Re: PHP extensions and multiple source files?

From: Date: Thu, 12 Jun 2003 14:23:12 +0000
Subject: Re: PHP extensions and multiple source files?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151253@lists.php.net to get a copy of this message
Simply list *.c all files as arguments to gcc: gcc one.c two.c three.c -shared -o my_ext.so Ed wrote:
Howdy folks! Is there a way to have multiple *.c source files and still end up with a single *.so while using gcc? How would that be reflected in the config.m4 file? I searched for examples in the source tree, but did not find one. I tried different things, but ended up with multiple *.so's. I have been using *.h for a few pieces, but compiling gets long and the source a bit unwieldy. Thanks!


« previous php.general (#151253) next »