Author Topic: C::B 13:12 linux - Cross Compilation Linux > Windows  (Read 2409 times)

Offline Gabriel.LP.Abreu

  • Single posting newcomer
  • *
  • Posts: 5
C::B 13:12 linux - Cross Compilation Linux > Windows
« 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://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!


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C::B 13:12 linux - Cross Compilation Linux > Windows
« Reply #1 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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: C::B 13:12 linux - Cross Compilation Linux > Windows
« Reply #2 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