473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

help needed with command line linker invocation

Apologies for asking such a basic question here but I am not sure where
else to go. I am new to Windoze (have been working with UNIX for many,
many years). When I try to link my application it does not find the M$
libraries unless I define the environment variable LIB. When I try to pass
the same information into the CL command line using LIBPATH:<valueit
seems to ignore it.

Also, I am not sure in general how Windoze copes with its tendency to put
spaces in directory names. How does this affect passing such pathnames as
command line arguments?

Regards,

Andrew Marlow
Oct 11 '06 #1
1 1141
Apologies for asking such a basic question here but I am not sure where
else to go.
no problem, that's why we are here.
I am new to Windoze (have been working with UNIX for many,
many years).
A tip: try to say Windows instead of Windoze. It makes you look more
professional,
When I try to link my application it does not find the M$
Ditto for MS instead of M$
libraries unless I define the environment variable LIB. When I try to pass
the same information into the CL command line using LIBPATH:<valueit
seems to ignore it.
The easiest solution is to start the VS200x command prompt. That you get a
command line with all variables properly set.
Also, I am not sure in general how Windoze copes with its tendency to put
spaces in directory names. How does this affect passing such pathnames as
command line arguments?
That is generally not a problem if you put double quotes around filenames.

--
Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"

Oct 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Subhransu Sekhar Sahoo | last post by:
Hi, I have a very basic qus. An executable can be written using n number of languages, viz C,,C++,Perl,Java,...And all these languages use different calling convensions for example C uses cdecl...
7
by: Steve M | last post by:
I'm trying to invoke a Java command-line program from my Python program on Windows XP. I cannot get the paths in one of the arguments to work right. The instructions for the program describe the...
3
by: codejunkie | last post by:
Hello, folks! Newbie question here: I just purchased Visual C++.NET 2003 Standard and have found the build sizes to be rather large. A simple "Hello World" executable (console) comes to 44Kb and...
3
by: Alex Shturm | last post by:
Hi, I am trying to activate incremental link using VC7 (.NET 2003) on a pretty big project (executable size is more than 100Mb, and it gets linked from several dozen of libraries and object...
4
by: Pete H | last post by:
I would like to have my new C++ projects start out with two configurations, UnicodeDebug and UnicodeRelease, instead of the standard Debug and Release configurations that Visual Studio always...
7
by: Brett | last post by:
I'm not sure why I keep getting this error, "Object reference not set to an instance of an object". Private Function somefunction() as string Dim MyCurrentClass As New Class1 Try For i As...
4
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project...
4
by: wxforecaster | last post by:
As alluded to in my post yesterday, I'm trying to compile a common C utility in Windows. It's only reference is to zlib.h, which needs zconf.h and in turn libz.a On Unix I've compiled this with...
0
by: SOI_0152 | last post by:
Hi all! Happy New Year 2008. Il hope it will bring you love and happyness I'm new on this forum. I wrote a stored procedure on mainframe using DB2 7.1.1 and IBM language c. Everything works...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.