News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Visual Studio

Started by TimoVJL, June 18, 2018, 08:06:40 AM

Previous topic - Next topic

TimoVJL

Visual Studio is very good for programmers.

Now you can to tell to your boss, my Visual Studio is just opening a project, so i have a plenty of time to have cup of coffee:)

Eclipse used to be slowest IDE in the world, but now Visual Studio had made the best effort to to beat it with;D
May the source be with you

Jokaste


ika

At one point I wanted to see if I could build my code in Visual Studio. (it could already be done in pocc / gcc), so after I made a new project in that folder, I realized it had put in a .vc directory that was 100MB... I still have no idea what that is for. After all, Pelles C can do all of the things I would use it for without that. Maybe the reason it takes so long to load is that it has to load files from this directory? I didn't care enough to investigate further, I just deleted all of the files related to that after seeing such a waste. Maybe if I really want to build it with cl.exe I can write a batch file for that.

TimoVJL

These may help too ;)
https://forum.pellesc.de/index.php?topic=7330.msg27816#msg27816
https://forum.pellesc.de/index.php?topic=3250.msg24126#msg24126

Copy project file to new one and change the C compiler.

That batch file idea is good too, you can create an Add-In for it.
May the source be with you

ika

I forgot about this, you can just use cl.exe instead of pocc.exe in Pelles C? I remember reading a while ago you can switch out polink with microsoft's linker- so maybe I should check out these features of the program.

Now it makes me wonder how well this would work for other compilers... I will have to try this out at some point. Thanks for the help.

jj2007

Quote from: ika on July 15, 2018, 05:21:20 PMI remember reading a while ago you can switch out polink with microsoft's linker

That was a while ago. Now you'll have to consider which debugger you want to use:
Quote from: TimoVJL on July 16, 2018, 11:51:30 AM
PellesC 9:
QuoteLinker:
Added support for Pelles C Debug Info, dropped support for Microsoft CodeView info.

TimoVJL

#6
Only the older 32-bit was CodeView ?

PellesC 9 obj-files use PO10 / PellesC debug info, so M$ link can't use that format.
One possibility is to create a conversion program from PO10 to PDB  format in some level.

LLVM started to support PDB,
http://blog.llvm.org/2017/08/llvm-on-windows-now-supports-pdb-debug.html

May the source be with you

Bitbeisser

Quote from: TimoVJL on June 18, 2018, 08:06:40 AM
Visual Studio is very good for programmers.

Now you can to tell to your boss, my Visual Studio is just opening a project, so i have a plenty of time to have cup of coffee:)

Eclipse used to be slowest IDE in the world, but now Visual Studio had made the best effort to to beat it with;D
Micro$oft constantly strives to improve their products...  8)
Ralf  :P

bitcoin

I use Visual Studio 6, it works good). But don't have includes.