Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studios Link.exe error: "extra operand"

Our build process uses Visual Studios 2003 link.exe for linking. On one machine we're seeing the following error:

_X86_Win32/Debug/Intermediate/OurApp.exe LINK: extra operand `/subsystem:windows' Try `LINK --help' for more information

It appears to be using the same version of visual studios as the other machines. Has anyone encountered this problem before?

like image 731
tsellon Avatar asked Sep 25 '08 21:09

tsellon


1 Answers

It looks like there's a copy of the GNU link utility somewhere in the search path. This message isn't from the Microsoft linker.

like image 65
ChrisN Avatar answered Nov 06 '22 08:11

ChrisN