Hi!
I have a little problem with a configure-script (in this case to
php-4.0.3pl1 but I have seen it with our programs as well). When it comes
to the check "checking whether the C compiler works.." it breaks. If I
have a gcc installed it works however. The main difference is that with
gcc I get this output:
checking whether the C compiler(gcc ) works... yes
but with cc I get this:
checking whether the C compiler(cc $(INCLUDE_FLAGS) -O1 -Olimit 1300 -G 0
-stdO -DOSF1 -DA_OSF -DNLS_ASIA -DAFSTUBS -non_shared ) works... no
and then an error message that the C compiler can't create
executables. The C compiler works though and I can compile with all those
options turned on. Why does all those options get listed with cc and none
with gcc? Anyone who has any further info on this? I didn't find any
option to tell configure which CFLAGS to use and such so I guess it's
defined somewhere deep in the script..
/Eskil
+--------------------------------------------------------------------+
| |
| Eskil Swahn |
| LDC, Lund University |
| Email: Eskil.Swahn_at_LDC.lu.se Web:
http://www.ldc.lu.se/ |
| Phone: +46 46 222 4986 Fax: +46 46 138225 |
| |
+--------------------------------------------------------------------+
Received on Mon Nov 06 2000 - 11:56:38 NZDT