Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Visual c++
Visual c++ [message #46345] Tue, 22 October 2002 11:51 Go to next message
Eclipse UserFriend
Originally posted by: nsergiu.mailcity.com

How do I compile with MSVC?

Sergiu.
Re: Visual c++ [message #46465 is a reply to message #46345] Wed, 23 October 2002 01:57 Go to previous message
Eclipse UserFriend
You can create makefile where MSVC will be as main compiler. Than you'll
be able to compile your VC projects.
This makefile will look like this for example:

CC= cl
CFLAGS= /link

c.obj:
$(CC) /Fo$< /c $@

all: prog

prog: 1.obj
$(CC) /Feprog 1.obj $(CFLAGS)

1.obj: 1.c
$(CC) /Z7 /Fo1.obj /c 1.c


I can't guarantee that it will work but I know exactly that it could be
done.


Hope it helps,
Igor S. Zamyatin
Interstron Ltd.
----------------------------------------
email: isz@interstron.ru
tel: +7 (095) 269-4713
cell: +7 (902) 659-5838
www: http://www.interstron.ru





Sergiu wrote:

> How do I compile with MSVC?

> Sergiu.
Previous Topic:Debugging with Cygwin GDB
Next Topic:Build configurations
Goto Forum:
  


Current Time: Tue Jul 01 08:22:47 EDT 2025

Powered by FUDForum. Page generated in 0.12601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top