[OT?] Running a Red Hat Linux Executable Under Win XP

Posted: 01-25-2009, 12:27 PM
I plumbed the possibility of putting Linux on a removable tray in a thread
above. This all for the sake of determining whether I can execute a
C-program that is *potentially* useful to me. It comes complete with a
Makefile to compile it. Another possibility might be to use something like
CygWin. I tried that 4-5 years ago on W2K, and it didn't seem to work out. I
ran into a few knotty problems, and bailed out. Maybe it's gotten better.
I'm not even sure it has a C compiler.

I do have a copy of the executable file of the program compiled under RH
Linux. Maybe there's a way to execute it in Win? There is no GUI. It's all
command operated.

--
W. eWatson

(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39 15' 7" N, 121 2' 32" W, 2700 feet

Web Page: <www.speckledwithstars.net/>

[OT?] Running a Red Hat Linux Executable Under Win XP


Responses to "[OT?] Running a Red Hat Linux Executable Under Win XP"

philo
Guest
Posts: n/a
 
Re: [OT?] Running a Red Hat Linux Executable Under Win XP
Posted: 01-25-2009, 01:19 PM

"W. eWatson" <notvalid2@sbcglobal.net> wrote in message
news:CZYel.9516$pr6.8776@flpi149.ffdc.sbc.com...
>I plumbed the possibility of putting Linux on a removable tray in a thread
>above. This all for the sake of determining whether I can execute a
>C-program that is *potentially* useful to me. It comes complete with a
>Makefile to compile it. Another possibility might be to use something like
>CygWin. I tried that 4-5 years ago on W2K, and it didn't seem to work out.
>I ran into a few knotty problems, and bailed out. Maybe it's gotten better.
>I'm not even sure it has a C compiler.
>
> I do have a copy of the executable file of the program compiled under RH
> Linux. Maybe there's a way to execute it in Win? There is no GUI. It's all
> command operated.
>


Rebuild from source


Malke
Guest
Posts: n/a
 
Re: [OT?] Running a Red Hat Linux Executable Under Win XP
Posted: 01-25-2009, 01:36 PM
W. eWatson wrote:
> I plumbed the possibility of putting Linux on a removable tray in a thread
> above. This all for the sake of determining whether I can execute a
> C-program that is *potentially* useful to me. It comes complete with a
> Makefile to compile it. Another possibility might be to use something like
> CygWin. I tried that 4-5 years ago on W2K, and it didn't seem to work out.
> I ran into a few knotty problems, and bailed out. Maybe it's gotten
> better. I'm not even sure it has a C compiler.
>
> I do have a copy of the executable file of the program compiled under RH
> Linux. Maybe there's a way to execute it in Win? There is no GUI. It's all
> command operated.
>
You cannot run a Linux executable under Windows. There are C compilers for
Windows. Use one of them.

EOT for me.

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
FAQ - http://www.elephantboycomputers.com/#FAQ

W. eWatson
Guest
Posts: n/a
 
Re: [OT?] Running a Red Hat Linux Executable Under Win XP
Posted: 01-25-2009, 03:51 PM
Malke wrote:
> W. eWatson wrote:
>
>> I plumbed the possibility of putting Linux on a removable tray in a thread
>> above. This all for the sake of determining whether I can execute a
>> C-program that is *potentially* useful to me. It comes complete with a
>> Makefile to compile it. Another possibility might be to use something like
>> CygWin. I tried that 4-5 years ago on W2K, and it didn't seem to work out.
>> I ran into a few knotty problems, and bailed out. Maybe it's gotten
>> better. I'm not even sure it has a C compiler.
>>
>> I do have a copy of the executable file of the program compiled under RH
>> Linux. Maybe there's a way to execute it in Win? There is no GUI. It's all
>> command operated.
>>
>
> You cannot run a Linux executable under Windows. There are C compilers for
> Windows. Use one of them.
>
> EOT for me.
>
> Malke
Yes, and I unearthed my old C++ compiler from other distant era recently
looking for something else. I don't even want to think about using it or
another C++ compiler on XP. Those days are gone. I'd rather do this in a
Linux environment, CygWin or straight Linux.

--
W. eWatson

(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39 15' 7" N, 121 2' 32" W, 2700 feet

Web Page: <www.speckledwithstars.net/>

Frank Slootweg
Guest
Posts: n/a
 
Re: [OT?] Running a Red Hat Linux Executable Under Win XP
Posted: 01-25-2009, 07:00 PM
W. eWatson <notvalid2@sbcglobal.net> wrote:
> I plumbed the possibility of putting Linux on a removable tray in a thread
> above. This all for the sake of determining whether I can execute a
> C-program that is *potentially* useful to me. It comes complete with a
> Makefile to compile it.
If it's (initially) only for a *test*, why don't you try one of the
many Linux live CDs? I.e. you don't have to *install* Linux, you just
*run* it off the Live CD. Probably others can give you pointers to a
specific Live CD, especially considering you (also) have a RH
executable.
> Another possibility might be to use something like
> CygWin. I tried that 4-5 years ago on W2K, and it didn't seem to work out. I
> ran into a few knotty problems, and bailed out. Maybe it's gotten better.
> I'm not even sure it has a C compiler.
If you want to use (MS-)Windows, I advise to try Cygwin again (see my
"User-Agent:" header). It has changed quite a lot and is totally modular
('packages') now. And yes, if you want to do program buidling, a C
compiler, etc., etc., is of course available. If you need help, there
are excellent support forums.
> I do have a copy of the executable file of the program compiled under RH
> Linux. Maybe there's a way to execute it in Win? There is no GUI. It's all
> command operated.
I'm not aware of something like the reverse of WINE. AFAIK, a Linux
executable doesn't run on Cygwin. I would think that a Linux executable
which *only* uses shared libraries, i.e. *no* archive libraries at all,
would run on Cygwin, but I've never tried it (no need) and I've heard no
specific confirmation/denial.
W. eWatson
Guest
Posts: n/a
 
Re: [OT?] Running a Red Hat Linux Executable Under Win XP
Posted: 01-25-2009, 08:24 PM
Frank Slootweg wrote:
> W. eWatson <notvalid2@sbcglobal.net> wrote:
>> I plumbed the possibility of putting Linux on a removable tray in a thread
>> above. This all for the sake of determining whether I can execute a
>> C-program that is *potentially* useful to me. It comes complete with a
>> Makefile to compile it.
>
> If it's (initially) only for a *test*, why don't you try one of the
> many Linux live CDs? I.e. you don't have to *install* Linux, you just
> *run* it off the Live CD. Probably others can give you pointers to a
> specific Live CD, especially considering you (also) have a RH
> executable.
>
>> Another possibility might be to use something like
>> CygWin. I tried that 4-5 years ago on W2K, and it didn't seem to work out. I
>> ran into a few knotty problems, and bailed out. Maybe it's gotten better.
>> I'm not even sure it has a C compiler.
>
> If you want to use (MS-)Windows, I advise to try Cygwin again (see my
> "User-Agent:" header). It has changed quite a lot and is totally modular
> ('packages') now. And yes, if you want to do program buidling, a C
> compiler, etc., etc., is of course available. If you need help, there
> are excellent support forums.
>
>> I do have a copy of the executable file of the program compiled under RH
>> Linux. Maybe there's a way to execute it in Win? There is no GUI. It's all
>> command operated.
>
> I'm not aware of something like the reverse of WINE. AFAIK, a Linux
> executable doesn't run on Cygwin. I would think that a Linux executable
> which *only* uses shared libraries, i.e. *no* archive libraries at all,
> would run on Cygwin, but I've never tried it (no need) and I've heard no
> specific confirmation/denial.
Surprisingly, I did discover I have a copy of Koppnix. I played with it
years ago. Will that do? I see a program that uses VMWare called Lifehack
that seems to do it. I see that it requires Linux too. Somehow I guess this
all gets put together on a VM. Sounds messy.

--
W. eWatson

(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39 15' 7" N, 121 2' 32" W, 2700 feet

Web Page: <www.speckledwithstars.net/>

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
what are executable files in linux? Guest Linux / Unix 0 11-14-2008 06:51 AM
Linux to DC and running for office,its time ! fusion Linux / Unix 1 02-20-2007 07:52 PM
Running Windows98 progs on Linux Daniel Linux / Unix 13 03-10-2006 10:19 PM
removing an executable when a job is running Linux / Unix 3 08-18-2004 03:01 AM
Running a Service Executable from a Network Path Marcio Ferreira Windows XP Security & Administration 0 04-29-2004 06:06 PM