From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97351173330360.tru64-unix-managers.marc@archive.invalid> From: Eskil.Swahn () LDC ! lu ! se Date: Mon, 06 Nov 2000 11:55:30 +0000 To: tru64-unix-managers Subject: configure X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97351173330360 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@LDC.lu.se Web: http://www.ldc.lu.se/ | | Phone: +46 46 222 4986 Fax: +46 46 138225 | | | +--------------------------------------------------------------------+