Code::Blocks Forums

User forums => Help => Topic started by: Gabriel.LP.Abreu on September 13, 2015, 10:21:39 pm

Title: C::B 13:12 linux - Cross Compilation Linux > Windows
Post by: Gabriel.LP.Abreu on September 13, 2015, 10:21:39 pm
Hello everyone, this is my first topic and I'm having some problems,
My university uses Windows, I use Linux and usually write codes in C for Linux, but now is the time I have to deliver a code for windows, so I started looking for a way to compile for Windows using Linux and Wine and found these very useful links: http://forums.codeblocks.org/?topic=3343.0 (http://forums.codeblocks.org/?topic=3343.0) & http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers (http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers).

I followed the instructions, which seem outdated, I could compile and run the code, but was unable to make the executable has the .exe extension, this is the first problem. The second problem is about the debugger: I could not make the C :: B recognized the 'insight' shown in the instructions, so I could not add it options.

I wait for some help on how to solve these problems .
already thanks for reading and sorry for bad English!

Title: Re: C::B 13:12 linux - Cross Compilation Linux > Windows
Post by: oBFusCATed on September 14, 2015, 01:51:45 am
The first problem you can solve by disabling the automatic generation of the extension. It is in the project -> properties
Title: Re: C::B 13:12 linux - Cross Compilation Linux > Windows
Post by: BlueHazzard on September 14, 2015, 08:51:14 am
have you tried to run the debugger from console? Does it work?
If it works we can look into it how to integrate in c::b