I'm using two compilers: VS2005 Professional Edition and a pre-built distribution of the GCC toolchain obtained here. I'm using two compilers simply to test my code over alternative compilers. Also I'm a newbie to GCC.
I have a static library which contains the framework and implementation of the WinMain function and an executable which links in the static library. This works fine when I compile and link with the MS toolchain, however I get the error mentioned above when using the GCC toolchain. I know that this error is caused by the linker not finding the function in any of the object files that it is linking to the executable. Is there anyway of getting around this using either a command-line compilation and linkage (using GCC) or using Code::Blocks 10.05 to make the applicable compile and link settings to get this to work?.
CodeRotMember Since 27 Aug 2012
Offline Last Active Nov 30 2013 06:25 AM
- Group Members
- Active Posts 5
- Profile Views 948
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown