This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unknown option "--traditional-format" ignored


Hello,
I am new to "gcc" environment. I want to install Apache web sever on HP
UNIX. It needs ANSI C compliant compiler.
I have gcc ver 3.0 installed on HP UNIX.
/***************************************************************************
****************************************************************************
**/
# gcc -v
Using builtin specs.
Configured with: configure  : (reconfigured) configure  : (reconfigured)
configu
re  : (reconfigured) configure  : (reconfigured) configure  : (reconfigured)
con
figure  : (reconfigured) configure  : (reconfigured) configure  :
(reconfigured)
 configure  : (reconfigured) configure  : (reconfigured) configure  :
(reconfigu
red) configure  : (reconfigured) ./configure
Thread model: single
gcc version 3.0
#
/***************************************************************************
****************************************************************************
**/
But while installing "Apache web sever", it gives error as follows:
/***************************************************************************
****************************************************************************
**/
#./configure --prefix=/apps/wbsrv
Configuring for Apache, Version 1.3.26
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for HP-UX 11 platform
 + setting C compiler to gcc
 + setting C pre-processor to /lib/cpp
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
        cd ..;
gcc  -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_D
L_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -lm -lpthread
as: warning 2: Unknown option "--traditional-format" ignored.
as: "/var/tmp/ccqWewwb.s", line 14: error 1052: Directive name not
recognized -
NSUBSPA
as: "/var/tmp/ccqWewwb.s", line 44: error 1052: Directive name not
recognized -
NSUBSPA
*** Error exit code 1

Stop.
============= End of Error Report =============

 Aborting!
#
/***************************************************************************
****************************************************************************
**/
Can anybody tell, what is wrong with "gcc"?
Does l need to [1] set up any environment variable/path of "gcc" to work? Or
                      [2] Reinstall "gcc"?

Thanks in advance..

Best Regards,
Milind


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]