- 论坛徽章:
- 0
|
C compiler default output怎样设置?
To:gadfly
# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = yn
uname -m = 9000/800
uname -r = B.11.00
uname -s = HP-UX
uname -v = U
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/ccs/bin
PATH: /usr/contrib/bin
PATH: /opt/nettladm/bin
PATH: /opt/fc/bin
PATH: /opt/fcms/bin
PATH: /opt/upgrade/bin
PATH: /opt/pd/bin
PATH: /usr/bin/X11
PATH: /usr/contrib/bin/X11
PATH: /opt/resmon/bin
PATH: /opt/pred/bin
PATH: /opt/hparray/bin
PATH: /opt/java/bin
PATH: /sbin
PATH: /home/root
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1236: checking build system type
configure:1254: result: hppa2.0w-hp-hpux11.00
configure:1262: checking host system type
configure:1276: result: hppa2.0w-hp-hpux11.00
configure:1284: checking target system type
configure:1298: result: hppa2.0w-hp-hpux11.00
configure:1326: checking for a BSD-compatible install
configure:1380: result: ./install-sh -c
configure:1391: checking whether build environment is sane
configure:1434: result: yes
configure:1467: checking for gawk
configure:1496: result: no
configure:1467: checking for mawk
configure:1496: result: no
configure:1467: checking for nawk
configure:1496: result: no
configure:1467: checking for awk
configure:1483: found /usr/bin/awk
configure:1493: result: awk
configure:1503: checking whether make sets ${MAKE}
configure:1523: result: yes
configure:1718: checking for gcc
configure:1734: found /usr/local/bin/gcc
configure:1744: result: gcc
configure:1988: checking for C compiler version
configure:1991: gcc --version </dev/null >;&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1994: $? = 0
configure:1996: gcc -v </dev/null >;&5
Reading specs from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/specs
Configured with: ./configure : (reconfigured) ./configure : (reconfigured) ./c
onfigure : (reconfigured) ./configure : (reconfigured) ./configure : (reconfi
gured) ./configure : (reconfigured) ./configure : (reconfigured) ./configure
: (reconfigured) ./configure : (reconfigured) ./configure : (reconfigured) ./c
onfigure
Thread model: posix
gcc version 3.2
configure:1999: $? = 0
configure:2001: gcc -V </dev/null >;&5
gcc: argument to `-V' is missing
configure:2004: $? = 1
configure:2030: checking for C compiler default output
configure:2033: gcc conftest.c >;&5
as: warning 2: Unknown option "--traditional-format" ignored.
as: "/var/tmp//ccK6fcwe.s", line 15: error 1052: Directive name not recognized -
NSUBSPA
configure:2036: $? = 1
configure: failed program was:
#line 2007 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
;
return 0;
}
configure:2063: error: C compiler cannot create executables
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=hppa2.0w-hp-hpux11.00
ac_cv_build_alias=hppa2.0w-hp-hpux11.00
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host=hppa2.0w-hp-hpux11.00
ac_cv_host_alias=hppa2.0w-hp-hpux11.00
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=hppa2.0w-hp-hpux11.00
ac_cv_target_alias=hppa2.0w-hp-hpux11.00
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "resin"
#define VERSION "2.1.8"
configure: exit 77
# |
|