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]

Re: configuration patch for host_exeext != ""



  In message <9902081752.AA25339@brahma.xraylith.wisc.edu>you write:
  > 
  > The current configuration has become way too complex for me to comprehend,
  > so I'm going for the easiest fix.
  > 
  > If exeext != "", the target libraries are not built right now since the
  > target library configure scripts check for cc1, f771 etc without bothering
  > to check for host file extensions. This shows up when cross-compiling for
  > various win32 targets.
  > 
  > There are two obvious fixes: 
  >   * Fix the target library configure.in to check for host extensions and 
  >     add that when checking if the compiler has been built or not.
  >   * Hope that the build host has symbolic link and link the cc1$(exeext)
  >     etc to the name without any extensions.
  > 
  > Here's the latter fix. It looks and smells like a hack, so please suggest
  > a better one.
I think the former fix is better.  All we have to do is get the right value of
$(exeext) to the target library subdir configures (famous last words), then
tack it onto "compiler_name" in each one.

jeff


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