Hi,

At Sat, 26 Jun 2004 10:36:32 +0900,
nobu.nokada / softhome.net wrote in [ruby-talk:104619]:
> @@ -252,5 +252,5 @@ def libpathflag(libpath=$LIBPATH)
>    libpath.map{|x|
>      (x == "$(topdir)" ? LIBPATHFLAG : LIBPATHFLAG+RPATHFLAG) % x
> -  }.join
> +  }.quote.join
>  end
>  

This hunk was wrong, and unnecessary.

And cl.exe apparently doesn't pass arguments with spaces to
link.exe correctly.

  $ cat a.c
  int main(int argc, char **argv)
  {
      return 0;
  }

  $ cat a.bat
  @cl.exe -Fea.exe a.c /link "/libpath:"c:\Program Files""

  $ ./a.bat
  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
  Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

  a.c
  Microsoft (R) Incremental Linker Version 6.00.8447
  Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

  /out:a.exe 
  /libpath:c:\Program 
  Files 
  a.obj 
  LINK : fatal error LNK1181: cannot open input file "Files.obj"

-- 
Nobu Nakada