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

W

W. eWatson

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/>
 
P

philo

W. eWatson said:
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
 
M

Malke

W. eWatson said:
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
 
W

W. eWatson

Malke said:
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/>
 
F

Frank Slootweg

W. eWatson said:
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

W. eWatson

Frank said:
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.


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'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/>
 
C

C.Joseph Drayton

W. eWatson said:
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.


Hello eWatson,

I am running Linux - Ubuntu inside of a Microsoft VirtualPC
2007[sp1] VM with no problems at all. I also have VirtualBox
and VMPlayer on my development machine.

Each of the 3 virtual machine managers have their strong
points. I find though that I mainly use VirtualBox and
VirtualPC. Note that VirtualPC does not have USB support
where-as VirtualBox does.

You should also know that you cannot install a BIOS locked
WindowsXP or later disk to a VM. When installing Linux, you
will need to manually set the screen resolution before the
install begins.

Sincerely,
C.Joseph Drayton, Ph.D. AS&T

CSD Computer Services

Web site: http://csdcs.site90.net/
E-mail: (e-mail address removed)90.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top