This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158910 - MSVS uses -L option insteadof of /link /libpath:
Summary: MSVS uses -L option insteadof of /link /libpath:
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks: 160172
  Show dependency tree
 
Reported: 2009-02-20 17:51 UTC by charlweed
Modified: 2011-04-27 16:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2009-02-20 17:51:54 UTC
Using -L with MSVS generate an unregognized option error.

The way to specify a link option to the MSVS linker is
/link /libpath:$(lib-dir-1)  /libpath:$(lib-dir-2) ... /libpath:$(lib-dir-n)

See
/LIBPATH (Additional Libpath): http://msdn.microsoft.com/en-us/library/1xhzskbe.aspx
Linker Options: http://msdn.microsoft.com/en-us/library/y0zzbyt4.aspx
Linker Command-Line Syntax: http://msdn.microsoft.com/en-us/library/hx5b050y.aspx
/link (Pass Options to Linker): http://msdn.microsoft.com/en-us/library/5y4fae15.aspx
Compiler Options Listed by Category: http://msdn.microsoft.com/en-us/library/19z1t1wy.aspx