This is the mail archive of the gcc-patches@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: Patch for PR target/12098 (IA64 HP-UX GCC requires GNU as)


> >From a configuration management standpoint, I agree.  I haven't tried
> to do a build using the HP assembler for some time.  Have you tried
> using the HP assembler recently?

No I haven't.

> At one time, it was hard to build the 64-bit hppa compiler.   One
> option was to build GCC first and then binutils.  This required
> using the HP assembler.  However, I added changes to binutils to
> allow it to build with the HP bundled compiler.  I'm not sure this
> still works without a bit of hacking, but it provides a build route
> for someone starting from scratch.  It's also possible to start
> with an earlier version of GCC using the HP bundled compiler.
> 
> It makes sense to extend the requirement.
> 
> Dave

OK, here is a new patch, it requires GAS for all hpux platforms.

Steve Ellcey
sje@cup.hp.com


2005-08-18  Steve Ellcey  <sje@cup.hp.com>

	PR target/12098
	PR target/9468
	* configure.ac (*-*-hpux*): Add requrement of GNU as.
	* configure: Regenerate


*** gcc.orig/gcc/configure.ac	Wed Aug 17 13:27:07 2005
--- gcc/gcc/configure.ac	Thu Aug 18 14:51:03 2005
*************** LCF0:
*** 2783,2789 ****
--- 2783,2796 ----
         then target_cpu_default=MASK_EXPLICIT_RELOCS
         else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS"
         fi])
+     ;;
+ esac
  
+ # Mips and HP-UX need the GNU assembler.
+ # Linux on IA64 might be able to use the Intel assembler.
+ 
+ case "$target" in
+   mips*-*-* | *-*-hpux* )
      if test x$gas_flag = xyes \
         || test x"$host" != x"$build" \
         || test ! -x "$gcc_cv_as" \
*************** LCF0:
*** 2795,2800 ****
--- 2802,2808 ----
      fi
      ;;
  esac
+ 
  # ??? Not all targets support dwarf2 debug_line, even within a version
  # of gas.  Moreover, we need to emit a valid instruction to trigger any
  # info to the output file.  So, as supported targets are added to gas 2.11,


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