aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: howto compile amule for windows under linux  (Read 6351 times)

redhad

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
howto compile amule for windows under linux
« on: June 14, 2006, 04:18:04 PM »

Hello to everybody,

I'm interesting in compiling amule for windows under linux (if it is possible),

Is there a way to do so?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4379
Re: howto compile amule for windows under linux
« Reply #1 on: June 14, 2006, 04:21:40 PM »

Hi redhad!

Well, it should be possible using mingw32.
Logged

redhad

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: howto compile amule for windows under linux
« Reply #2 on: June 14, 2006, 04:24:43 PM »

I don't want to compile under windows, because i have a ready to run environment under linux. (gcc, wxgtk....)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2714
Re: howto compile amule for windows under linux
« Reply #3 on: June 14, 2006, 05:09:24 PM »

Logged
concordia cum veritate

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4379
Re: howto compile amule for windows under linux
« Reply #4 on: June 14, 2006, 05:33:48 PM »

There's mingw for Linux as well, at least on my Ubuntu machine there are even precompiled packages for the compiler.
Logged

DLH

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: howto compile amule for windows under linux
« Reply #5 on: November 14, 2008, 11:01:18 PM »

If anybody's thinking about trying the method described in this updated howto http://mingw.org/wiki/LinuxCrossMinGW beware that the download section of MinGW project page @ sourceforge does not link to the required source code of GCC, only binaries. To get current gcc -3.x.x source tarballs manually before you execute the script you'll have to go directly to a mirror (e.g. http://heanet.dl.sourceforge.net/sourceforge/mingw/). You may as well get current w32api & mingwrt sources while you're there.

Important update
In MinGW32 interactive build script, the default choice (1) of packages to be built downloads a "broken" tarball of binutils. Use this one instead: binutils-2.17.50-20060824-1-src.tar.gz . I had to spend a few hours drilling through mailing lists to figure out what the problem was, but the build finally completed.
« Last Edit: November 15, 2008, 08:11:22 PM by DLH »
Logged