Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

  (email not shown publicly)

Journal of djberg96 (2603)

Saturday June 26, 2004
01:29 AM

Tripping up MS

[ #19509 ]
As posted by Nobu Nakada:

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.

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

  LINK : fatal error LNK1181: cannot open input file "Files.obj"

And I thought the Solaris linker was a pain. Good grief.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.