1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: link: invalid option -- n.....make[2]: *** [install.windows-x64] Error 2 |
From: | Mark Rivers <[email protected]> |
To: | "'Max Power'" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Wed, 7 Sep 2016 19:39:52 +0000 |
I think you are confusing 2 things: -
Using gnumake from MinGW, but using the Microsoft Visual Studio compiler and linker. EPICS_HOST_ARCH=windows-x64 uses the Microsoft compiler and linker. -
Using the mingw (GNU) compiler and linker. EPICS_HOST_ARCH=windows-x64-mingw uses the GNU compiler and linker. If you want to use the Microsoft compiler then you need to make sure that the minGW linker does not come first in your PATH, which seems like what is happening. You can
probably change your PATH definition so the Microsoft compiler tools come before the minGW tools. Mark From: [email protected] [mailto:[email protected]]
On Behalf Of Max Power Dear guys, I have tried to install EPICS base 3.15.4 in windows 8.1 64 bits using MinGW tools, following instructions in EPICS.org: http://www.aps.anl.gov/epics/base/win32.php and Mark River
explanation. I have used the last version of Visual studio 2015 and all the building tools required. After "make" command execution, everything looked going on perfect until the point the installation has used the "link" command (see below). It says that "link" command does not understand -n option. I have checked that the link.exe command
installed with VC2015 has the possibility of using that argument, but the link command from MinGW GNU tools cannot. Any idea or someone with the same problem? Thank you very much in advance!, console outputs coming below .... link -nologo -LTCG -incremental:no -opt:ref -release -version:3.15 /MACHINE:X64 -out:antelope.exe epicsTempFile.obj closure.obj error.obj la lr.obj lr0.obj antelope.obj mkpar.obj output.obj reader.obj skeleton.obj symtab. obj verbose.obj warshall.obj link: invalid option -- n Try `link --help' for more information. make[3]: Leaving directory `/c/Users/Max/AppData/Roaming/SPB_Data/epics/base/s rc/libCom/O.windows-x64' make[2]: *** [install.windows-x64] Error 2 make[2]: Leaving directory `/c/Users/Max/AppData/Roaming/SPB_Data/epics/base/src/libCom' make[1]: *** [libCom.install] Error 2 make[1]: Leaving directory `/c/Users/Max/AppData/Roaming/SPB_Data/epics/base/s rc' make: *** [src.install] Error 2 link version that the make uses: $ link link: missing operand Try `link --help' for more information. $ link --version link (GNU coreutils) 5.97 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by Michael Stone. $ link --help Usage: link FILE1 FILE2 or: link OPTION Call the link function to create a link named FILE2 to an existing FILE1. --help display this help and exit --version output version information and exit Report bugs to <[email protected]>. |