Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Visual c++
Visual c++ [message #46345] Tue, 22 October 2002 15: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 05:57 Go to previous message
Igor S. Zamyatin is currently offline Igor S. ZamyatinFriend
Messages: 56
Registered: July 2009
Member
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: Fri Dec 27 00:17:33 GMT 2024

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

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

Back to the top