+x flag

  • ESS
    1st Aug 2010 Member 0 Permalink
    I would like to recommend that, for user convenience, the binaries in future Linux downloads of PT come with the +x flag already implemented on the files. I do have to admit though, that this is just me being kinda lazy and not wanting to have to "chmod +x" the binaries every time I update or download.
  • pokepal101
    1st Aug 2010 Member 0 Permalink
    you don't have to use chmod you know...
  • Felix
    1st Aug 2010 Member 0 Permalink
    pokepal101:
    you don't have to use chmod you know...

    What? you have to use chmod, or any other tool that probably uses chmod...
  • wouter215
    1st Aug 2010 Member 0 Permalink
    Felix
    i think he means, right click> make executable.

    but yes i agree, the linux binaries should be ziped (tar.gz?) with the +x flag enabled.
  • Simon
    1st Aug 2010 Administrator 0 Permalink
    Currently, Updates and downloads are packaged in a Windows environment, Linux is only used for compiling.
  • Felix
    1st Aug 2010 Member 0 Permalink
    Simon:
    Currently, Updates and downloads are packaged in a Windows environment, Linux is only used for compiling.

    Simon, just one thing. I have a fix for compiling 64bit on linux with SSE enabled. Have you tried to do it? Did it work for you with the standard makefile? For me it didn't work, as it needed stubs-32. Simple fix was to add -m64 to cflags.

    Performance increase, well. I did not notice any. Maybe gcc does it automatically when compiling on 64bit platform.
  • Aizria
    1st Aug 2010 Member 0 Permalink
    Yes I suppose you could just do a right click to +x the binaries. I just use the terminal and 'chmod +x' out of habit. By the way, I'm ESS, whom originally posted this thread. I recently got my initial account issues sorted out and from now on will be posting under the handle of Excimer-Sun-Software.
  • seehp
    1st Aug 2010 Member 0 Permalink
    make a launcher script that automatically sets +x and then launches TPT. That's what I do
  • wouter215
    1st Aug 2010 Member 0 Permalink
    seehp
    i only had to do the make executable thing once...

    perhaps i'll try and make a .deb for my ubuntu system.

    edit: cannot make a deb..
  • Aizria
    1st Aug 2010 Member 0 Permalink
    @seehp

    Well, you only have to set the +x flag once for each binary download. Though I did make a launch script for it in Python so that I could double-click start it from my desktop instead of having to go into the PT directory and double-click the binary every time that I want to start it. And the Python binary start-up is so much cleaner than that for a Bash start script. It doesn't invoke the terminal.