Question !!
김명수
mskim@hurim.net
Tue Mar 16 02:45:00 GMT 2004
Hello !!
My name Kim myoung soo, live in korea.
I have som problem to use gcc tool.
H/W Itanium2 CPU
OS : HP-UX B.11.23 U ia64
I installed the gcc-3.3.2 on itanium server.
Position : /usr/local/bin, ....
but I have some error at comile time ..
% gcc -o test main.c
error 2005: invalid option '-x'
% gcc -xc -o test main.c
error 2005: invalid option '-x'
% gcc -x c -o test main.c
error 2005: invalid option '-x'
% man gcc
....
-x language
Specify explicitly the language for the following input files
(rather than letting the compiler choose a default based on the
file name suffix). This option applies to all following input
files until the next -x option. Possible values for language are:
c c-header cpp-output
c++ c++-cpp-output
objective-c objc-cpp-output
assembler assembler-with-cpp
ada
f77 f77-cpp-input ratfor
java
treelang
-x none
Turn off any specification of a language, so that subsequent files
are handled according to their file name suffixes (as they are if
-x has not been used at all).
.....
What is the cause ?
Thank you !!
More information about the Gcc
mailing list