I'm thinking of moving from VC++ to gcc because it's free and open source. VC++ seems to have some differences to the standard C/C++ because it seems to not compile some correct and simple programs. What actually are the biggest differences? Yes, that is mostly about the compilers but I'm looking for most noticeable pros and cons of CodeLite compared to VC++ IDE too.
I encountered my first problem with CL/gcc when trying to create a .dll file. The "Dynamic library" project creates .so and I didn't find a way to change it to .dll. :/
Do the programs created using gcc need anything similar to the Microsoft C++ Redistributable (runtime library or whatever it's called) or something?
I had more questions but I forgot them, I'll add them here later.
Creating .dll, differences to VC++ and more questions
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Apr 22, 2010 6:41 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Enthusiast
- Posts: 11
- Joined: Mon Apr 05, 2010 12:55 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating .dll, differences to VC++ and more questions
On Windows when you create an DynamicLibrary (using GCC/G++ as compiler) it is actually and DLL file, but with another extension (.SO in this case, it comes from Shared Object).
If you really want to produce "something.DLL" then go to project settings and under "General" tab change Output file from
to
If you really want to produce "something.DLL" then go to project settings and under "General" tab change Output file from
Code: Select all
$(IntermediateDirectory)/$(ProjectName).so
Code: Select all
$(IntermediateDirectory)/$(ProjectName).dll
~Dr.Optix (for the moment I'm busy with my own projects)
IDE: CodeLite, Code::Blocks, VisualStudio
Compiler: MinGW-TDM, VC++
Language: C++, C, C#, PHP, JavaScript, Python
Website: http://droptix.wordpress.com
IDE: CodeLite, Code::Blocks, VisualStudio
Compiler: MinGW-TDM, VC++
Language: C++, C, C#, PHP, JavaScript, Python
Website: http://droptix.wordpress.com