473,322 Members | 1,719 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,322 software developers and data experts.

print compilation options

Is there any way to get VS to print the compilation settings that it is
invoking as it is calling all the compiler tools, for instance
instead of

Compiling...
stdafx.cpp
myprog.cpp
Linking...

I want
cl.exe ...blah blah blah...
link.exe ...blah blah blah...

so I know what options it is using, in order to find out how it builds a
damn static library!
If I try compiling with /D"_LIB", it complains that entry point must be
defined, and tries to create an .exe. If I use /LDd, then it outputs a .LIB
file - fine, but it outputs a DLL aswell, and it's the DLL where the
functions are! I want ALL the functions to be in the .lib file, not just
their stubs. But I want to do this without using Visual Studio.
If a combination of cl.exe and link.exe can't create a static library, then
how the bloody hell does Visual Studio do it????!!!


Why don't I use Visual Studio you might ask? Well however immoral nicking it
is, to nick it for the purposes of building an application that I intend to
sell is something that I would be a bit hypocritical if I did - especially
when the application I'm building is to help other people build *their*
applications. So I'm sticking to the SDK.
Please DON'T say why don't I use the Express edition - answer, because it
can't create resource files which my application needs (and someone at
Microsoft has confirmed this to be an issue that isn't likely to be fixed, as
the resource editor relies on ATL in some way).

Nov 17 '05 #1
1 923
"=?Utf-8?B?Qm9uag==?=" <Bo**@discussions.microsoft.com> wrote in
news:F5**********************************@microsof t.com:
Is there any way to get VS to print the compilation settings
that it is invoking as it is calling all the compiler tools, for
instance instead of

Compiling...
stdafx.cpp
myprog.cpp
Linking...

I want
cl.exe ...blah blah blah...
link.exe ...blah blah blah...


VC++ generates a build log that contains the information you're
looking for. The path to the build log is printed at the end of
the build output.

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #2

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

Similar topics

4
by: aladdin | last post by:
Hi, I wonder what's the difference of compilation between using command line and using VS.NET IDE. For I have a windows service program, there's always a difference between the output file...
10
by: Sune | last post by:
Hi, previously I used Eclipse CDT for compiling my files just to get started with C and leave C++ behind. Now it's time to get a little more serious so I've moved my files to a new workplace and...
1
by: Pardhasaradhy | last post by:
Hi, Please see the following error and revert back as early as possible. I am getting this once I request for the asp.net page. Server Error in '/tanishq' Application. Timed out waiting for...
2
by: Steve | last post by:
Hi I'm receiving the following error whenever a new build is placed onto our production server: Timed out waiting for a program to execute. The command being executed was...
0
by: Marco Viana | last post by:
Hi, I'm developing an ASP.NET application with Visual Studio .NET 2003 in a Win XP Professional, .NET Framework 1.1 and IIS 5.1 computer with all the lattest patches. When testing a page...
5
by: Bonj | last post by:
Is there any way to get VS to print the compilation settings that it is invoking as it is calling all the compiler tools, for instance instead of Compiling... stdafx.cpp myprog.cpp Linking......
6
by: swartzbill2000 | last post by:
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to...
4
by: Bob | last post by:
Hi, In VS2003 conditional compilation constants and their state could be defined at project level. I was using this to control what features where offered by various builds. i.e....
3
by: psroga | last post by:
Can anyone look at this code and let me know why pthread_mutex_unlock and pthread_mutex_lock are giving me the "phtread_mutex_unlock" was not defined in this scope error. I am compiling the code...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.