This is the mail archive of the gcc@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]

Re: Problem with Gcc Installation on HP-UX Itanium box


Ritu Sabharwal wrote:
error: invalid switch '-x'

This appears to be an error from the HP-UX assembler. It would be helpful if the HP-UX assembler identified itself when reporting a problem to make this more obvious. Using the gcc -v option should make this more obvious.


The assembler -x option is used by gas to turn on dependency violation checking. This is also the same option used by the Intel assembler. I have never had access to HP-UX for IA-64, so I don't know HP-UX assembler conventions.

It appears that the HP-UX IA-64 gcc port assumes that you have installed the GNU binutils package first. So I would suggest doing that and then retrying the gcc build. Alternatively, you could try removing the -x option from gcc/config/ia64/sysv4.h ASM_SPEC, but I think this is unlikely to work. I doubt that anyone has ever tried to make gcc output work with the HP-UX assembler.

Jim



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