Question !!

Zack Weinberg zack@codesourcery.com
Tue Mar 16 02:56:00 GMT 2004


=?ks_c_5601-1987?B?sei47bz2?= <mskim@hurim.net> writes:

> 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'

That error message is coming from the assembler.  GCC won't work with
the system assembler.  You need to install GAS, and configure GCC with
*both* --with-gnu-as and --with-as=/path/to/gas.  I do not remember
offhand whether or not you need GNU ld as well.

The HPUX Porting Center has binary packages of gcc 3.3.2 and binutils
2.14, which I know work, since I built them.  3.3.3 coming in the next
few days, unless there's a disaster.

zw



More information about the Gcc mailing list