LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2006, 10:13 PM   #1
lilzz
Member
 
Registered: Aug 2006
Posts: 73

Rep: Reputation: 15
Question Howto convert bin file to a executable DOS file


Have a compiled .bin file but needs to convert into standalone .exe file for DOS. How do I do that?

thanks
 
Old 08-03-2006, 10:23 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
As far as I know you can't convert a binary to run on different platforms. Depending on what it does though, you may be able to re-compile it under DOS (or something that emulates it). Can you give us some more info on what it does and whether you have the source?
 
Old 08-03-2006, 10:38 PM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
there was a program in dos named bin2exe but i don't know if the program still exists today.
 
Old 08-03-2006, 10:46 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
bin2exe converted a DOS com file to an exe.
How did you compile this bin file?
 
Old 08-04-2006, 12:49 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Did I miss the part about how this relates to Linux?.....
 
Old 08-04-2006, 01:03 AM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Did I miss the part about how this relates to Linux?.....
I think the part was, "how do I turn a Linux .bin into a DOS .exe", or at least I hope so
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a bin file executable and install the prgram shariqali Linux - Software 6 03-29-2006 02:11 PM
Command to convert dos file to a unix format sathish80 Linux - Newbie 1 03-23-2006 12:32 AM
Executing Perl under Dos /Creating an executable for DOS alix123 Programming 1 02-15-2006 05:07 AM
Linux Executable File Help (created from a .c file) MattG1981 Linux - Newbie 7 06-06-2004 05:54 PM
How to compile a executable dos file by g++? Xiangbuilder Programming 7 09-23-2003 09:56 AM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration