Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: (Linux C::B) Cross compiling  (Read 1913 times)

0 Members and 1 Guest are viewing this topic.

MadSiser

  • Newbie
  • *
  • Posts: 3
    • View Profile
(Linux C::B) Cross compiling
« on: February 07, 2019, 12:46:10 pm »
How can I make *.exe file in Linux Code::Blocks? I want send my project to friend which can't compiling, so I want create file which when he clicked will be working.
Write me it in steps, please.
« Last Edit: February 07, 2019, 02:12:13 pm by Laurent »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: (Linux C::B) Cross compiling
« Reply #1 on: February 07, 2019, 02:13:31 pm »
The same as when you compile for Linux, but with a cross-compiler. You'd better find a proper tutorial, than waiting for people to explain on a forum.

Besides, this is the SFML forum, so please focus on SFML related questions.
Laurent Gomila - SFML developer

MadSiser

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: (Linux C::B) Cross compiling
« Reply #2 on: February 11, 2019, 11:21:52 pm »
Yeah but all tutorials says about Windows. I can't find information about that.  :(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: (Linux C::B) Cross compiling
« Reply #3 on: February 12, 2019, 08:46:43 am »
The very first Google result is a stackoverflow thread with plenty of useful information. It even gives a link to a tutorial for Code::Blocks. So please don't say you can't find anything ;)
Laurent Gomila - SFML developer

MadSiser

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: (Linux C::B) Cross compiling
« Reply #4 on: March 01, 2019, 05:35:05 pm »
I was do it but still do not work (worked in project without SFML libraries). I have linked all libraries and added macro but I have error.

catalinnic

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: (Linux C::B) Cross compiling
« Reply #5 on: March 02, 2019, 11:45:19 am »
you can use wine with codeblocks for windows or you can install mingw to compile for windows

 

anything