In Progress

Simple Compile Linux Command Line Tool to Windows (using MinGW/MSYS)

I have a linux CLI tool I want compiled into a windows binary. There is ONE problem so far.


When running ./configure I get this error at the end:

checking for socklen_t equivalent... [url removed, login to view]: error: Cannot find a type to use in place of socklen_t

This appears to be because Linux uses sys/socket.h and windows uses winsock2.h.

I actually found a drop-in header replacement file for sys/socket.h that wraps it to Windows winsock so in theory the program requires no changes, but I lack the C skills to put it on and view it working... I tried and got same error... I do not know for a fact if it this drop-in file works or not.

There is also a MinGW compiled version of the binary I am after that says it works on Windows (which proves it can be done). I have its source code here too of that project and will give you the link to download, but I could not get it to work either (same error). It had a patch file with it maybe I did it wrong. Again I am not C expert at all.

Offering $50 to whoever can compile this program so it runs on Windows. I will need your bullet point description of how you achieved it.

Make a bid and I will let you know what linux tool this is for and send any required links to you.

There is bonus work related to this after you achieve compilation if you are interested (optional)


Skills: C Programming

See more: linux command line tool mingw, find type use place socklen_t mingw, msys find type use place socklen_t, command line mingw, mingw linux command line, mingw can find type use place socklen_t, mingw find type use place socklen_t, linux command mingw, socklen_t, linux tool windows, wrong header, windows socket programming, uses of binary, simple binary code, simple binary, programming theory, programming on windows, make line, line in problem, how to use binary, how to find that i am for programming, how to find a file in linux, how to do binary, how to code in binary, how to code binary

About the Employer:
( 7 reviews ) Mexico, Mexico

Project ID: #4536073

Awarded to:


Hello, i have 7 years of expericience on linux c Programming, im very familair with GCC and MinGW. I've done work like this before: compiling posix programs on windows. And i can write documentation on english and sp More

$50 USD in 1 day
(0 Reviews)

15 freelancers are bidding on average $60 for this job


Hello, expert in porting Unix tools to Windows here, I know C too. Please send me the task and all the relevant links for a quick review. Thanks, Paul

$200 USD in 5 days
(44 Reviews)

I have more than 7 years of professional experience in C++ programming specially cross compilation. I can help you. Please send in more details.

$54 USD in 3 days
(8 Reviews)

Hello, I have rich experience writing cross-platform software using C and C++, and I can help you to compile the tool into a windows binary using MinGW.

$54 USD in 3 days
(13 Reviews)

I can do it.

$55 USD in 3 days
(11 Reviews)

Hi, I am your mingw guy. Check PM.

$50 USD in 0 days
(5 Reviews)

hi,i can do that.

$50 USD in 2 days
(4 Reviews)

Dear Sir. I'm very interested in your job post involving these skills. I have consistently delivered projects on time and under budget, which has earned us many positive ratings, as you'll see in work history. I More

$144 USD in 3 days
(6 Reviews)

Hello sir, i have over 15 years of experience in C/C++ development on Windows & Linux.

$45 USD in 3 days
(2 Reviews)

hi, I can help

$50 USD in 1 day
(0 Reviews)

Hi. I can do it. please check your PM!

$45 USD in 1 day
(0 Reviews)

Hi, I have succesfully ported several programs from linux to windows. I can help you with the project.

$35 USD in 3 days
(0 Reviews)

I will do it.

$55 USD in 3 days
(0 Reviews)

Hello, I have come across similar issues in the past with compiling for Windows, I would be happy to wrap this up cleanly for you and explain the process. Thanks for considering me.

$55 USD in 3 days
(0 Reviews)

Hi, I have 5 years experience in embedded programming. I have worked on open source projects and well versed with Makefile .Send me the files.

$50 USD in 1 day
(0 Reviews)

hey i can deliver you this project in scheduled time. I have got good amount of experience of cross-platform compilation including on MinGW.

$55 USD in 2 days
(0 Reviews)