Click here to Skip to main content
15,913,944 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralUrgent: Remoting question Pin
Guillermo Jimenez27-Jul-05 6:59
Guillermo Jimenez27-Jul-05 6:59 
GeneralRuntime hyperlink of datagrid Pin
wEb GuRu...26-Jul-05 5:05
wEb GuRu...26-Jul-05 5:05 
GeneralRe: Runtime hyperlink of datagrid Pin
charmis27-Jul-05 2:47
charmis27-Jul-05 2:47 
GeneralRe: Runtime hyperlink of datagrid Pin
thanhannt31-Jul-05 22:59
thanhannt31-Jul-05 22:59 
GeneralQuestion from an old C/C++ programmer Pin
Mutty26-Jul-05 5:03
Mutty26-Jul-05 5:03 
GeneralRe: Question from an old C/C++ programmer Pin
Kevin McFarlane28-Jul-05 22:53
Kevin McFarlane28-Jul-05 22:53 
GeneralRe: Question from an old C/C++ programmer Pin
Kevin McFarlane28-Jul-05 22:54
Kevin McFarlane28-Jul-05 22:54 
GeneralCan't compile C code with cl.exe Pin
tejasbill25-Jul-05 16:06
tejasbill25-Jul-05 16:06 
Hello Everybody:

In somewhere I read that with the tool cl.exe that comes with .NET Framework 1.1 is possible to compile standar C or C++ code.
So I tried to compile the classical example code.
Lets name it as hello.c.
Here it is the content of the source:
------------------------
#include <stdio.h>
int main(void)
{
printf("Hello\n");
return 0;
}
-------------------------

But when I enter in the command line:

F:\>cl hello.c

This is what I see on console:
---------------------------------------------------------------------
Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved

hello.c
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

/out:hello.exe
hello.obj
LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
------------------------------------------------------------------------

Thats all!: I got only the object file but not the executable.

I checked that LIBC.lib does exist in F:\Archivos de programa\Microsft Visual Studio .NET 2003\Vc7\lib and my LIB enviroment variable is set to that PATH.


Somebody could tell me what I am doing wrong?
Am I missing something?

I will appreciate any help.

tejasbill
GeneralRe: Can't compile C code with cl.exe Pin
Christian Graus25-Jul-05 19:17
protectorChristian Graus25-Jul-05 19:17 
GeneralRe: Can't compile C code with cl.exe Pin
Mike Dimmick26-Jul-05 2:32
Mike Dimmick26-Jul-05 2:32 
GeneralRe: Can't compile C code with cl.exe Pin
tejasbill26-Jul-05 17:44
tejasbill26-Jul-05 17:44 
GeneralForm delay and resize Pin
istrasci25-Jul-05 13:01
istrasci25-Jul-05 13:01 
GeneralIntraction with a Windows Service Pin
24-Jul-05 23:51
suss24-Jul-05 23:51 
GeneralRe: Intraction with a Windows Service Pin
Corinna John26-Jul-05 2:13
Corinna John26-Jul-05 2:13 
GeneralCeating hyperlink column in datagrid Pin
wEb GuRu...24-Jul-05 19:36
wEb GuRu...24-Jul-05 19:36 
GeneralRe: Ceating hyperlink column in datagrid Pin
Member 210009525-Jul-05 18:45
Member 210009525-Jul-05 18:45 
GeneralAdd event handler for MenuItem click event at right start of event Pin
thanhannt23-Jul-05 15:08
thanhannt23-Jul-05 15:08 
GeneralRe: Add event handler for MenuItem click event at right start of event Pin
[Marc]23-Jul-05 23:01
[Marc]23-Jul-05 23:01 
GeneralRe: Add event handler for MenuItem click event at right start of event Pin
thanhannt24-Jul-05 15:45
thanhannt24-Jul-05 15:45 
GeneralRe: Add event handler for MenuItem click event at right start of event Pin
[Marc]24-Jul-05 17:33
[Marc]24-Jul-05 17:33 
GeneralRe: Add event handler for MenuItem click event at right start of event Pin
thanhannt24-Jul-05 22:47
thanhannt24-Jul-05 22:47 
GeneralRe: Add event handler for MenuItem click event at right start of event Pin
[Marc]25-Jul-05 7:26
[Marc]25-Jul-05 7:26 
GeneralRe: Add event handler for MenuItem click event at right start of event Pin
thanhannt25-Jul-05 16:09
thanhannt25-Jul-05 16:09 
GeneralDataGrid navigate through objects Pin
Jan Vanacek23-Jul-05 1:33
sussJan Vanacek23-Jul-05 1:33 
GeneralLost in Unicode Pin
nemo22-Jul-05 16:02
nemo22-Jul-05 16:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.