Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Cygwin

Cygwin

Scheduled Pinned Locked Moved The Lounge
linuxcollaborationquestionannouncement
39 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Last time I had a look at it, the 32bit version was pretty broken but at least semi-usable. The 64bit version was completely borken, seemingly beyond repair, but I guess it's been fixed now..

    V Offline
    V Offline
    vl2
    wrote on last edited by
    #16

    What are you all talking about? Cygwin is rock-stable. Any time it goes wrong, a simple rebase fixes everything (and it's not Cygwin's fault, it's a shitty windows DLL model).

    L 1 Reply Last reply
    0
    • V vl2

      What are you all talking about? Cygwin is rock-stable. Any time it goes wrong, a simple rebase fixes everything (and it's not Cygwin's fault, it's a shitty windows DLL model).

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #17

      vl2 wrote:

      a simple rebase fixes everything

      If something requires fixing, that means it's broken. It's also entirely its own fault - plenty of software works just fine on Windows without periodically using the excuse "yes but DLL model".

      vl2 wrote:

      Cygwin is rock-stable.

      Ok. Like I said, I haven't used it in a while. Maybe it got better.

      V 1 Reply Last reply
      0
      • L Lost User

        vl2 wrote:

        a simple rebase fixes everything

        If something requires fixing, that means it's broken. It's also entirely its own fault - plenty of software works just fine on Windows without periodically using the excuse "yes but DLL model".

        vl2 wrote:

        Cygwin is rock-stable.

        Ok. Like I said, I haven't used it in a while. Maybe it got better.

        V Offline
        V Offline
        vl2
        wrote on last edited by
        #18

        DLL offsets are broken by Windows and the other windows software. And windows does not support position-independent DLLs (in 21st century! omg!), so the usual Unix model does not map well onto windows practice. I've been using cygwin since around 1999, and it was pretty solid back then. The only real problem with cygwin (back then, and still affecting) is load times for heavy C++ applications, due to a lack of lazy static initialisation (again, thanks to an outdated and crappy COFF model).

        L 1 Reply Last reply
        0
        • V vl2

          DLL offsets are broken by Windows and the other windows software. And windows does not support position-independent DLLs (in 21st century! omg!), so the usual Unix model does not map well onto windows practice. I've been using cygwin since around 1999, and it was pretty solid back then. The only real problem with cygwin (back then, and still affecting) is load times for heavy C++ applications, due to a lack of lazy static initialisation (again, thanks to an outdated and crappy COFF model).

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #19

          vl2 wrote:

          I've been using cygwin since around 1999, and it was pretty solid back then.

          Really? Never even a "nope, there's a space in that path so I'm just going to completely freak out"? The first (and only) time I tried the 64bit version, it just completely refused to work at all. Some arcane error when trying to start that shell thing.

          V 1 Reply Last reply
          0
          • L Lost User

            vl2 wrote:

            I've been using cygwin since around 1999, and it was pretty solid back then.

            Really? Never even a "nope, there's a space in that path so I'm just going to completely freak out"? The first (and only) time I tried the 64bit version, it just completely refused to work at all. Some arcane error when trying to start that shell thing.

            V Offline
            V Offline
            vl2
            wrote on last edited by
            #20

            Unix tools will freak out on spaces in paths anyway, no matter what your underlying platform is. It's not a bug, it's a feature. But I admit I never tried cygwin on Windows8, and I'm not going to leave 7 any time soon.

            L 1 Reply Last reply
            0
            • V vl2

              Unix tools will freak out on spaces in paths anyway, no matter what your underlying platform is. It's not a bug, it's a feature. But I admit I never tried cygwin on Windows8, and I'm not going to leave 7 any time soon.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #21

              Most paths on Windows have spaces. Refusing to deal with that reality is absolutely not a feature.

              V 1 Reply Last reply
              0
              • L Lost User

                Most paths on Windows have spaces. Refusing to deal with that reality is absolutely not a feature.

                V Offline
                V Offline
                vl2
                wrote on last edited by
                #22

                Cygwin feature is to be POSIX-compatible. Introducing incompatibilities for a sake of some stupid spaces is not an option.

                L 1 Reply Last reply
                0
                • V vl2

                  Cygwin feature is to be POSIX-compatible. Introducing incompatibilities for a sake of some stupid spaces is not an option.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #23

                  Great, so it's stuck between not working and not working.

                  V 1 Reply Last reply
                  0
                  • L Lost User

                    Great, so it's stuck between not working and not working.

                    V Offline
                    V Offline
                    vl2
                    wrote on last edited by
                    #24

                    It is working, perfectly. Just not the way windows-minded folk expects it to.

                    L J 2 Replies Last reply
                    0
                    • V vl2

                      It is working, perfectly. Just not the way windows-minded folk expects it to.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #25

                      Ok, try to install it in a directory with a space somewhere in it then. Like "Program Files". That's supposed to work, right? Well it didn't. That it doesn't like paths with spaces in it internally in its own little world is fine. That's not what I'm talking about.

                      V 1 Reply Last reply
                      0
                      • V vl2

                        It is working, perfectly. Just not the way windows-minded folk expects it to.

                        J Offline
                        J Offline
                        jschell
                        wrote on last edited by
                        #26

                        vl2 wrote:

                        Just not the way windows-minded folk expects it to.

                        That is similar to claiming that OSX works on Macs but because it doesn't work on a windows machine that the windows machine is broken. And presumably you would also claim that Linux is broken since it provides methods that allow spaces in paths as well.

                        V 1 Reply Last reply
                        0
                        • L Lost User

                          Ok, try to install it in a directory with a space somewhere in it then. Like "Program Files". That's supposed to work, right? Well it didn't. That it doesn't like paths with spaces in it internally in its own little world is fine. That's not what I'm talking about.

                          V Offline
                          V Offline
                          vl2
                          wrote on last edited by
                          #27

                          Why is it "supposed to work", to start with? Windows mindset is such an amusing, funny little thing!

                          L J 2 Replies Last reply
                          0
                          • J jschell

                            vl2 wrote:

                            Just not the way windows-minded folk expects it to.

                            That is similar to claiming that OSX works on Macs but because it doesn't work on a windows machine that the windows machine is broken. And presumably you would also claim that Linux is broken since it provides methods that allow spaces in paths as well.

                            V Offline
                            V Offline
                            vl2
                            wrote on last edited by
                            #28

                            You're free to use spaces in paths, of course. Just never expect any scripts with string escaping work with them. No matter what your OS is. Something is terribly broken in the heads of those who allows spaces in the paths - they're making it nearly impossible to deal with their infrastructure with any scripting environment. COMMAND.COM chokes on spaces too, by the way.

                            J 1 Reply Last reply
                            0
                            • V vl2

                              Why is it "supposed to work", to start with? Windows mindset is such an amusing, funny little thing!

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #29

                              When in Rome .. well you know the saying. Having a limitation "installation directory may not contain spaces" is a bug. There are simply no excuses. Paths contains spaces on Windows. Almost always. That limitation essentially means it can't be installed at all, except in some places that are off-limits like "C:\". How would you like it if people "ported" things from windows to linux and kept all the windows-quirks?

                              1 Reply Last reply
                              0
                              • V vl2

                                You're free to use spaces in paths, of course. Just never expect any scripts with string escaping work with them. No matter what your OS is. Something is terribly broken in the heads of those who allows spaces in the paths - they're making it nearly impossible to deal with their infrastructure with any scripting environment. COMMAND.COM chokes on spaces too, by the way.

                                J Offline
                                J Offline
                                jschell
                                wrote on last edited by
                                #30

                                vl2 wrote:

                                COMMAND.COM chokes on spaces too, by the way.

                                Command.com? Perhaps you were referring to cmd.exe. I use spaces in paths in the batch scripts that I write for windows and nothing "chokes" so other than that I have no idea what you are referring to.

                                vl2 wrote:

                                they're making it nearly impossible to deal with their infrastructure with any scripting environment.

                                Actually rather trivial in my experience. At least once one is aware of it and handles it properly. Much harder for example, in my experience, to track down different types of syntax for different script languages.

                                V 1 Reply Last reply
                                0
                                • V vl2

                                  Why is it "supposed to work", to start with? Windows mindset is such an amusing, funny little thing!

                                  J Offline
                                  J Offline
                                  jschell
                                  wrote on last edited by
                                  #31

                                  vl2 wrote:

                                  Why is it "supposed to work", to start with?

                                  You do in fact understand what OS Cygwin runs on right? You also understand that even when Cygwin was introduced the concept of dual booting already existed so if someone did in fact want to run Linux/unix then they had that option already. Thus the point of Cygwin is to add to the windows environment,not replace it - and you also understand that?

                                  V 1 Reply Last reply
                                  0
                                  • J jschell

                                    vl2 wrote:

                                    Why is it "supposed to work", to start with?

                                    You do in fact understand what OS Cygwin runs on right? You also understand that even when Cygwin was introduced the concept of dual booting already existed so if someone did in fact want to run Linux/unix then they had that option already. Thus the point of Cygwin is to add to the windows environment,not replace it - and you also understand that?

                                    V Offline
                                    V Offline
                                    vl2
                                    wrote on last edited by
                                    #32

                                    Point of Cygwin is to make Windows at least a little bit usable, because without the normal scripting tools it was just a shell for running Word (which is itself pretty useless too). Removing spaces from the "standard" paths is a tiny price for such a huge value.

                                    J 1 Reply Last reply
                                    0
                                    • J jschell

                                      vl2 wrote:

                                      COMMAND.COM chokes on spaces too, by the way.

                                      Command.com? Perhaps you were referring to cmd.exe. I use spaces in paths in the batch scripts that I write for windows and nothing "chokes" so other than that I have no idea what you are referring to.

                                      vl2 wrote:

                                      they're making it nearly impossible to deal with their infrastructure with any scripting environment.

                                      Actually rather trivial in my experience. At least once one is aware of it and handles it properly. Much harder for example, in my experience, to track down different types of syntax for different script languages.

                                      V Offline
                                      V Offline
                                      vl2
                                      wrote on last edited by
                                      #33

                                      Pass a path from one .bat script to another - I bet you'll be lost in escaping in no time.

                                      J 1 Reply Last reply
                                      0
                                      • V vl2

                                        Pass a path from one .bat script to another - I bet you'll be lost in escaping in no time.

                                        J Offline
                                        J Offline
                                        jschell
                                        wrote on last edited by
                                        #34

                                        vl2 wrote:

                                        Pass a path from one .bat script to anothe

                                        I bet I would be lost in complexity in no time so paths have nothing to do with it. Script languages for OS shells are quick convenience only. For complex solutions I write applications in real languages.

                                        V 1 Reply Last reply
                                        0
                                        • V vl2

                                          Point of Cygwin is to make Windows at least a little bit usable, because without the normal scripting tools it was just a shell for running Word (which is itself pretty useless too). Removing spaces from the "standard" paths is a tiny price for such a huge value.

                                          J Offline
                                          J Offline
                                          jschell
                                          wrote on last edited by
                                          #35

                                          vl2 wrote:

                                          Point of Cygwin is to make Windows at least a little bit usable

                                          Nonsense.

                                          vl2 wrote:

                                          because without the normal scripting tools it was just a shell for running Word

                                          Not sure what you are referring to but I was running scripts in windows before cygwin existed.

                                          V 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups