From: stevenknight Date: Fri, 3 Oct 2008 23:06:51 +0000 (+0000) Subject: User's Guide updates: X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=23ef2eca6678e787cae96efd76600594149a78cd;p=scons.git User's Guide updates: Mostly MSVC compilation lines so the /Fo is at the beginning of the output line. Also some new/modified variables in the environment dump in the Troubleshooting appendix, and removing a leftover XXX todo comment. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3547 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/doc/user/add-method.xml b/doc/user/add-method.xml index e6f2a670..d4a484e9 100644 --- a/doc/user/add-method.xml +++ b/doc/user/add-method.xml @@ -111,7 +111,7 @@ C:\>scons -Q rc /fores.res res.rc - cl /nologo /c test_stuff.c /Fotest_stuff.obj + cl /Fotest_stuff.obj /c test_stuff.c /nologo link /nologo /OUT:tests\test_stuff.exe test_stuff.obj res.res diff --git a/doc/user/builders-built-in.xml b/doc/user/builders-built-in.xml index cf09fd5c..738683bc 100644 --- a/doc/user/builders-built-in.xml +++ b/doc/user/builders-built-in.xml @@ -157,8 +157,8 @@ C:\>scons -Q - cl /nologo /c goodbye.c /Fogoodbye.obj - cl /nologo /c hello.c /Fohello.obj + cl /Fogoodbye.obj /c goodbye.c /nologo + cl /Fohello.obj /c hello.c /nologo link /nologo /OUT:hello.exe /LIBPATH:\usr\dir1 /LIBPATH:dir2 foo1.lib foo2.lib hello.obj goodbye.obj diff --git a/doc/user/depends.xml b/doc/user/depends.xml index 39866e2b..512ac689 100644 --- a/doc/user/depends.xml +++ b/doc/user/depends.xml @@ -990,7 +990,7 @@ C:\>scons -Q hello.exe - cl /nologo /Iinclude /I\home\project\inc /c hello.c /Fohello.obj + cl /Fohello.obj /c hello.c /nologo /Iinclude /I\home\project\inc link /nologo /OUT:hello.exe hello.obj diff --git a/doc/user/less-simple.xml b/doc/user/less-simple.xml index 35b6b608..28fc0537 100644 --- a/doc/user/less-simple.xml +++ b/doc/user/less-simple.xml @@ -100,7 +100,7 @@ C:\>scons -Q - cl /nologo /c hello.c /Fohello.obj + cl /Fohello.obj /c hello.c /nologo link /nologo /OUT:new_hello.exe hello.obj @@ -189,9 +189,9 @@ C:\>scons -Q - cl /nologo /c file1.c /Fofile1.obj - cl /nologo /c file2.c /Fofile2.obj - cl /nologo /c prog.c /Foprog.obj + cl /Fofile1.obj /c file1.c /nologo + cl /Fofile2.obj /c file2.c /nologo + cl /Foprog.obj /c prog.c /nologo link /nologo /OUT:program.exe prog.obj file1.obj file2.obj diff --git a/doc/user/libraries.xml b/doc/user/libraries.xml index da7d835f..1fa06af9 100644 --- a/doc/user/libraries.xml +++ b/doc/user/libraries.xml @@ -73,9 +73,9 @@ C:\>scons -Q - cl /nologo /c f1.c /Fof1.obj - cl /nologo /c f2.c /Fof2.obj - cl /nologo /c f3.c /Fof3.obj + cl /Fof1.obj /c f1.c /nologo + cl /Fof2.obj /c f2.c /nologo + cl /Fof3.obj /c f3.c /nologo lib /nologo /OUT:foo.lib f1.obj f2.obj f3.obj @@ -201,9 +201,9 @@ C:\>scons -Q - cl /nologo /c f1.c /Fof1.obj - cl /nologo /c f2.c /Fof2.obj - cl /nologo /c f3.c /Fof3.obj + cl /Fof1.obj /c f1.c /nologo + cl /Fof2.obj /c f2.c /nologo + cl /Fof3.obj /c f3.c /nologo link /nologo /dll /out:foo.dll /implib:foo.lib f1.obj f2.obj f3.obj RegServerFunc(target, source, env) @@ -282,11 +282,11 @@ C:\>scons -Q - cl /nologo /c f1.c /Fof1.obj - cl /nologo /c f2.c /Fof2.obj - cl /nologo /c f3.c /Fof3.obj + cl /Fof1.obj /c f1.c /nologo + cl /Fof2.obj /c f2.c /nologo + cl /Fof3.obj /c f3.c /nologo lib /nologo /OUT:foo.lib f1.obj f2.obj f3.obj - cl /nologo /c prog.c /Foprog.obj + cl /Foprog.obj /c prog.c /nologo link /nologo /OUT:prog.exe /LIBPATH:. foo.lib bar.lib prog.obj @@ -410,7 +410,7 @@ C:\>scons -Q - cl /nologo /c prog.c /Foprog.obj + cl /Foprog.obj /c prog.c /nologo link /nologo /OUT:prog.exe /LIBPATH:\usr\lib /LIBPATH:\usr\local\lib m.lib prog.obj