how to force object-files into the build-system?
| From: | thies at digicol dot de | Date: | Fri, 16 Jun 2000 15:43:35 +0000 |
| Subject: | how to force object-files into the build-system? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21530@lists.php.net to get a copy of this message | ||
sascha,
oracle has a file on every platform called sysliblist usually
this files contains lokks like:
8.1.6.1 (linux):
----------------
-ldl -lm -lpthread
in config.m4 in ext/oci8.c i separate the libs and add them
with the "right" macros. on AIX the situation is different
8.0.6 (AIX)
-----------
/lib/crt0_r.o -lsvld -lc_r -lpthreads -lodm -lm
for obvious reasons i cannot treat the /lib/crt0_r.o like a
normal library
what would be the "right thing" to do?
on AIX (when using gcc) i also need to add "-nostdlibs -lgcc"
to the link line.
any suggestions?
tc
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany