BUILD.Windows: Clarify on the correct linker.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 29 Jan 2014 23:28:42 +0000 (15:28 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 31 Jan 2014 02:16:52 +0000 (18:16 -0800)
This has tripped a couple of people.

The workaround in cccl does not actually work. So get rid of it and
clarify in documentation.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
BUILD.Windows
build-aux/cccl

index 7012bcf..33b75da 100644 (file)
@@ -30,6 +30,10 @@ to have the $PATH inside the bash to point to the proper compiler and linker.
 One easy way to achieve this is to get into the "Developer Command prompt for
 visual studio" and through it enter into the bash shell available from msys.
 
+If after the above step, a 'which link' inside MSYS's bash says,
+"/bin/link.exe", rename /bin/link.exe to something else so that the
+Visual studio's linker is used.
+
 * Get the Open vSwitch sources from either cloning the repo using git
 or from a distribution tar ball.
 
index f6972d4..7914b40 100644 (file)
@@ -33,10 +33,6 @@ EOF
     exit $1
 }
 
-# Put /usr/bin last in the path, to avoid clashes with MSVC's link
-# Ugly workaround, but should work
-PATH=`echo $PATH | sed -e "s#/usr/bin:##" | sed -e "s#/bin:##"`:/usr/bin
-
 case $MACHTYPE in
     *-msys)
         slash="-"