1. This forum is in read-only mode.

Cygwin

Discussion in 'Non-Emulation Help' started by necr0, Feb 23, 2012.

  1. necr0

    necr0 Well-Known Member

    Ok.

    I am trying to launch a shell script (.sh) on Windows using Cygwin. I have absolutely no idea on how to.
    I am a complete beginner (I have actually never used Cygwin before) so if anyone can provide some nice easy to follow instructions, it would be nice.

    I can't install 'cause I'm on my home computer, so if anyone can upload a pre-installed Cygwin with the required packages, that would be great.
    If you can't, I'll install it at the library.

    I am using Windows 7 if that helps.

    Any help is appreciated!
     
  2. Loonylion

    Loonylion Administrator Staff Member

    what does the shell script do?
     
  3. Joel16

    Joel16 Well-Known Member

    aeither i need help from this too =/
    Iam not really getting anywhere
     
  4. necr0

    necr0 Well-Known Member

    It runs a script that builds a source code.
     
  5. Joel16

    Joel16 Well-Known Member

    I know, but how, do we use it, it shows up as a commant prompt for me =/
     
  6. Loonylion

    Loonylion Administrator Staff Member

    cygwin is a command prompt...
     
  7. necr0

    necr0 Well-Known Member

    So... how to load a shell script...?
     
  8. Loonylion

    Loonylion Administrator Staff Member

    set it executable then change to the directory its in and ./filename.sh
     
  9. necr0

    necr0 Well-Known Member

    ...

    How?
    Post Merge: [time]1330121247[/time]
    This is the directory

    Code:
    C:\Users\*Name*\Downloads\Src\build.sh
     
  10. Loonylion

    Loonylion Administrator Staff Member

    that isnt a valid unix path. If you don't know basic linux commands then you probably shouldnt be trying to compile stuff.
     
  11. necr0

    necr0 Well-Known Member

    I don't know anything. That is why I need help.
    If you can't that's ok.
     
  12. Loonylion

    Loonylion Administrator Staff Member

    that's what i'm saying. Compiling software is fairly advanced and if you don't even know basic linux navigation commands then you're going to have a nightmare trying to compile anything, especially if it doesn't work first time and you end up in dependency hell. It's not something for the inexperienced.
     
  13. necr0

    necr0 Well-Known Member

    How to get experienced?
     
  14. Loonylion

    Loonylion Administrator Staff Member

    learn the basic stuff first. navigating via commandline is a good start, as is changing permissions on files and folders
     
  15. necr0

    necr0 Well-Known Member

    Ok.