FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


linux problem





mcduck2002
hi everyone Smile

is there anyone who knows where can i get the program setsid?
i need a the binary version, since i don't have any compiler yet.
i need only this utility statically compiled.
i tried to look for pacakages but found nothing. i only know that the package called util-linux and it all comes in source code.

thanks
desertwind
Which distro are you using ?

If you are searching for an rpm, the following link may help you.
http://rpmfind.net/linux/RPM/redhat/updates/4.2/i386/util-linux-2.7-13.1.i386.html

If you're searching for a deb, try this
http://dir.filewatcher.com/d/Debian/i386/base/util-linux_2.11n-7_i386.deb.330154.html
darth_pyro
I know this doesn't really seem helpful or nice, but if you don't have a compiler, you really need to get one. I have been using linux for a few months now (so I am still new to the community), and it seems that most programs come as source code (because people like open-source and being able to modify things). Depending on your distribution, you need to find your package manager of some sort and get the gcc, make, binutils, and the standard c libraries. This will probably come with your distro on the CD (although not in the latest version). Is there some reason that you can't/won't get the compiler? You will need it to install many programs in the future.
mcduck2002
well in that case how can i compile for linux under windows. this is a constraint for me, since my linux router (ipcop distro) is productive. i cant compile inside that computer, though it can, especially when it comes to compiling binaries here and there. i don't have another computer with linux, so in that case i'm stuck with windows. i know there is way to compile for linux under windows. after all the source code already works out of the box, there is nothing to debug, only to compile.
root
You can compile under Windows using CYGWIN. http://www.cygwin.com/
darth_pyro
hmm... well that is a sticky situation. Maybe you could try this: http://www.sorgonet.com/modules.php?name=News&file=article&sid=109 I just did google "compile linux programs under windows" ... try searching google for something similar or something more tailored toward what you want to do (such as "compile [name of program] for linux under windows"). Maybe you could use something like Cygwin or MinGW. ( http://www.cygwin.com/ and http://www.mingw.org/ , respectively) Not sure if they are meant for compiling linux programs under linux, but they are basically simulated linux programming environments under windows(used to say "linux", sorry). You have an unusual situation, most people want to compile windows programs under linux, and that is what I'm finding alot in my searches. Try using linux google as well. (http://www.google.com/linux) Good luck with it, and tell us how things are going! I'll be checking back. Smile
mcduck2002
darth_pyro wrote:
hmm... well that is a sticky situation. Maybe you could try this: http://www.sorgonet.com/modules.php?name=News&file=article&sid=109 I just did google "compile linux programs under windows" ... try searching google for something similar or something more tailored toward what you want to do (such as "compile [name of program] for linux under windows"). Maybe you could use something like Cygwin or MinGW. ( http://www.cygwin.com/ and http://www.mingw.org/ , respectively) Not sure if they are meant for compiling linux programs under linux, but they are basically simulated linux programming environments under windows(used to say "linux", sorry). You have an unusual situation, most people want to compile windows programs under linux, and that is what I'm finding alot in my searches. Try using linux google as well. (http://www.google.com/linux) Good luck with it, and tell us how things are going! I'll be checking back. Smile


i'll probably use cygwin, or mingw. the borland solution doesn't look like what i'm looking for. it looks like it is kind of compiling linux-source-code under windows in order to run the compiled source under windows.
i'm looking for a solution, that i know to be existed. if i'll find what i'm looking for i'll left the answer here for the rest of us.

have a nice day
SlaBo
Nonsense. By using Cygwin you DON'T compile programs for linux - I mean you do not compile programs that will work under linux. Cygwin is a kernel emulation enviroment. It allows you to run programs written for linux using Windows. And MinGW is a gnu c port that allows you to create native Windows application using native windows API, so it hasn't much to do with linux.

Actually I'm not sure if it is really possible to find windows compiler that will target output for linux kernel.
mcduck2002
SlaBo wrote:
Nonsense. By using Cygwin you DON'T compile programs for linux - I mean you do not compile programs that will work under linux. Cygwin is a kernel emulation enviroment. It allows you to run programs written for linux using Windows. And MinGW is a gnu c port that allows you to create native Windows application using native windows API, so it hasn't much to do with linux.

Actually I'm not sure if it is really possible to find windows compiler that will target output for linux kernel.


I know that the "geekbox" project (a project that aims to be a multimedia machine) so there is a posibility that this kind of task is possible. geekbox uses kind of compiling under windows that capable of running under linux.
Related topics
Linux or Windows on your computer?!
Linux & Windows
Linux Problem
Linux Needs Progs
Permissions problem with Linux
Major Problem with COmputer. Help Please
Linux on laptop
Linux and 3D
ClarkConnect Hp printer problem
mysql and apache problem.
Urgent Help > Serious Virus Infection
is windowmaker proyect dead??
Ubuntu 7.10 "Gutsy Gibbon" Released
32 vs 64 bit Ubuntu
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.