Moving to VC++ 8?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
sevobal
Member
Member
Posts: 63
Joined: Sun Oct 22, 2006 7:11 am

Moving to VC++ 8?

Post by sevobal »

Hi,
I'm actually developing my system in C using djgpp. But it would be better for me to switch to c++ and i like the VC++. So is it possible to do this? I mean rewritting the code in c++ is no problem, but how must I setup VC++ to build a *.bin file from different *.obj files? Is this possible?
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Moving to VC++ 8?

Post by Brynet-Inc »

sevobal wrote:Hi,
I'm actually developing my system in C using djgpp. But it would be better for me to switch to c++ and i like the VC++. So is it possible to do this? I mean rewritting the code in c++ is no problem, but how must I setup VC++ to build a *.bin file from different *.obj files? Is this possible?
Err.. Why switch from GCC to VC++? That's kinda sad.. Why not just use the g++ package for "djgpp"?

(Why are you using the DOS port of GCC btw...?)
Last edited by Brynet-Inc on Tue May 15, 2007 11:34 am, edited 1 time in total.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
sevobal
Member
Member
Posts: 63
Joined: Sun Oct 22, 2006 7:11 am

Post by sevobal »

I like to switch to VC++ 8, because all my apps written in MS VC++ or MS C# and I like the IDE of Visual Studio, so it would be better for me to use VC++ when switching to c++
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Post by mathematician »

One of the drawbacks of VC for operating system development is that it can only produce PE format files. Which is fine for turning out the Windows apps it is primarily intended for. (Or even the executable and DLL files of Windows itself. No flat binaries though.)
jnc100
Member
Member
Posts: 775
Joined: Mon Apr 09, 2007 12:10 pm
Location: London, UK
Contact:

Post by jnc100 »

You can use the VC++ ide if you like, and ask it to use an external build system like cygwin to actually do the compiling.

Regards,
John.
sevobal
Member
Member
Posts: 63
Joined: Sun Oct 22, 2006 7:11 am

Post by sevobal »

jnc100 wrote:You can use the VC++ ide if you like, and ask it to use an external build system like cygwin to actually do the compiling.

Regards,
John.
That would be cool, so where can I change the compiler settings from ms to cygwin?
Gamlor
Posts: 1
Joined: Tue May 08, 2007 1:49 pm

Post by Gamlor »

You can start a new "Makefile Project". Then you can specifie a script to execute on the build, clean, rebuild etc.

For example if you're using a makefile/gcc/cygwin you can just call "make build" in the projectsettings.

Well, maybe there is a better way, but this works. (I'm doing it this way atm)
Tyler
Member
Member
Posts: 514
Joined: Tue Nov 07, 2006 7:37 am
Location: York, England

Post by Tyler »

sevobal wrote:
jnc100 wrote:You can use the VC++ ide if you like, and ask it to use an external build system like cygwin to actually do the compiling.

Regards,
John.
That would be cool, so where can I change the compiler settings from ms to cygwin?
I havent done this for the latest editions... but if you download the quake source, i know that they have always used Visual Studio but backended it, and the latest source code will probably be a good example of how to change most of the settings.
Post Reply