Any plans for a 64 bit native version? What about other unix flavors?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrestomanci
    Enthusiast
    • Jan 2008
    • 49

    Any plans for a 64 bit native version? What about other unix flavors?

    Are there any plans for a 64bit native version of Beyond Compare 3?

    I run an AMD 64 bit version of Ubuntu Linux. I suspect that a lot of linux users who have 64 bit hardware run a 64 bit version of the OS, because almost all applications are available in 64 bit versions. I have got the 32 bit Linux build working via a 32 bit chroot environment, but it does not play nice with Subversion because meta chars in pathnames are not properly handled by the chroot scripts.

    Anyway, all that pain and flakiness would disappear if there was a native 64bit build. I
    dare say there are some windows 64 bit users out there that would also benifit.

    While we are considering other platforms, I am confident that a Solaris 10 version would go down well with fellow sysadmins where I work, so If you have got the source code to be portable and compile on non windows systems, the next step to a wider range of platforms should be much easier.
  • Zoë
    Team Scooter
    • Oct 2007
    • 2666

    #2
    Doesn't Linux just run 32-bit apps normally, with the linker deciding whether to load 32-bit or 64-bit libraries like Windows x64 does?

    Past that, no, we don't have any immediate plans to do a 64-bit native Linux compile. Doing so would require switching compilers (from Kylix to FreePascal) and replacing the widget set we're using. Because of limitations in our current compiler/libraries we'll probably end up doing both eventually, but we'd like to get a stable useable 32-bit release out first.
    Zoë P Scooter Software

    Comment

    • chrestomanci
      Enthusiast
      • Jan 2008
      • 49

      #3
      Originally posted by Craig
      Doesn't Linux just run 32-bit apps normally, with the linker deciding whether to load 32-bit or 64-bit libraries like Windows x64 does?
      Unfortunately the dynamic linker is not that smart, and it will attempt use native 64 bit libraries with a 32 bit application. There are plans for a smarter run time dynamic linker that would support 32 and 64 bit versions of the same dynamic libraries side by side, but that is a big project, and probably 18 months out.

      In the meantime, the work around is to setup a chroot environment, containing a 32bit linux install, with a complete set of 32 bit libraries and 32 bit only applications. The problem I have found is that is that when you invoke 32 bit applications in the chroot environment, and 'special' characters in the command line arguments cause problems.

      Comment

      • DEinspanjer
        Enthusiast
        • Nov 2007
        • 28

        #4
        Bleh. I just made exactly the decision mentioned here, I've got a laptop with a Core 2 Duo processor so I felt there was no reason not to install the 64bit Ubuntu 7.10 since Linux treats the 64bit world so much better. I didn't remember this thread about Cirrus not easily working in this environment until I went to install it.

        I guess I'll have to learn exactly how to do the chrooted 32bit environment mentioned. It isn't something I'm familiar with so it might be a bit painful.

        Comment

        • wstanton
          New User
          • Feb 2008
          • 1

          #5
          While I would like to see a native 64bit version, I have been successful running Cirrus under the 64bit native installation of Ubuntu 7.10. All I had to do was install the ia32-libs and ia32-libs-kde packages.

          With these packages load I was not required to run a chroot jail for it.

          Comment

          • chrestomanci
            Enthusiast
            • Jan 2008
            • 49

            #6
            Originally posted by DEinspanjer
            I guess I'll have to learn exactly how to do the chrooted 32bit environment mentioned. It isn't something I'm familiar with so it might be a bit painful.
            Instructions are here:

            http://ubuntuforums.org/showthread.php?t=24575

            It is not to hard to follow, but the scripts used tend to barf over any special chars in the filename such as spaces, brackets quotes etc, so for this reason you can't integrate a chrooted BC into a linux subversion client.

            Comment

            • z00m1n
              Visitor
              • Feb 2006
              • 9

              #7
              I have to say while I am using BC2 on a daily basis and it is probably one of my most valuable tools, I haven't looked at version 3 yet.

              I just started a new job for a Linux company and after a couple of hours in the office, I notice how bitterly I miss BC. It is fantastic to see there is a Linux version, but all my machines run 64bit Linux, so until I can download a native 64bit version, there doesn't seem to be too much real-world benefit in it for me (as in something I would pay and upgrade for).

              (Is there a Mac version planned ? I would start saving for a Mac then...)

              The chrooted approach reminds me a bit of the S-FTP discussion in v2 with the 3rd party / FTP/SFTP bridge on localhost - it does work, but it would be sooo much better if it was done natively.

              Didn't you guys just switch your tools to support Linux instead of Windows only ?

              Comment

              • Zoë
                Team Scooter
                • Oct 2007
                • 2666

                #8
                Originally posted by z00m1n
                The chrooted approach reminds me a bit of the S-FTP discussion in v2 with the 3rd party / FTP/SFTP bridge on localhost - it does work, but it would be sooo much better if it was done natively.
                Any poor integration is as much the fault of Linux as it is ours. I can comfortably run both 32-bit and 64-bit Windows applications without one being better than the other. I still don't understand why Linux can't handle things just as well.

                Originally posted by z00m1n
                Didn't you guys just switch your tools to support Linux instead of Windows only ?
                The compiler and libraries we're using for the Linux port only support 32-bit. We're researching alternatives but it's going to be a while before anything viable comes of that. Windows and Delphi are still our primary development platform and any cross-platform strategy has to work with that. We aren't switching languages just to increase our user base by 10%.
                Zoë P Scooter Software

                Comment

                • Chris
                  Team Scooter
                  • Oct 2007
                  • 5538

                  #9
                  I just got Beyond Compare 3.0.2 for Linux to run on 64-bit Kubuntu 8.04.1. It is pretty painful to setup.

                  Here are the steps:
                  1. Install 32-bit compatibility library.
                  Using the graphical package manager, install the package "ia32-libs". You can also install from a terminal using the command "sudo apt-get install ia32-libs".

                  2. Install 32-bit version of QT3.
                  (On older versions of Kubuntu/Ubuntu, you may be able to install the
                  package "ia32-libs-kde", this package isn't available for Kubuntu 8.04.1 AMD64)

                  Download the 32-bit .deb package for QT3 from http://packages.ubuntu.com/hardy/i38...t3-mt/download.

                  Extract the contents of the .deb package.
                  dpkg-deb --extract libqt3-mt_3.3.8-b-0ubuntu3_i386.deb libqt3-mt

                  Copy the QT3 libraries to Kubuntu's folder for 32-bit libraries.
                  sudo cp -R libqt3-mt/usr/lib/* /usr/lib32

                  3. Install Beyond Compare 3 for Linux deb package.
                  sudo dpkg -i --force-architecture BCompareLinux_080814.deb

                  4. Run Beyond Compare by typing "bcompare" in a terminal.
                  Chris K Scooter Software

                  Comment

                  • NovL
                    New User
                    • Nov 2008
                    • 1

                    #10
                    Opensuse 11

                    Followed steps as posted and this worked.

                    Here are the steps:

                    1. Install 32-bit compatibility library ('compat-32bit')
                    2. Install 32-bit version of QT3 ('qt3')

                    Had already installed BC3 and got library errors, then installed above packages.

                    BC started up with no further issues.

                    Would good if Scooter guys could put this type of info with the product install or make these packages dependencies in the RPM. Windows is still light years ahead in terms of installation process.

                    Comment

                    • iva2k
                      New User
                      • Dec 2008
                      • 1

                      #11
                      HOWTO: BeyondCompare3 on 64-bit Linux Ubuntu Intrepid 8.10

                      Install BC3 from non-deb (.tar.gz from http://www.scootersoftware.com/download.php) - unpack and run
                      Code:
                      sudo ./install
                      Then install some needed 32-bit stuff:
                      Code:
                      sudo apt-get install ia32-libs lib32asound2 libasound2-plugins
                      Here's a nifty helper script that gets other 32-bit libraries:
                      Code:
                      cd ~; wget -N boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
                      sudo dpkg -i getlibs-all.deb
                      Code:
                      sudo getlibs -p libqt3-mt
                      now run
                      Code:
                      bcompare
                      That's It!

                      Comment

                      • lsces
                        Visitor
                        • Jan 2009
                        • 7

                        #12
                        Mandriva 2009.0 x86_64

                        Well I installed BC3 and ran it from konsole which told me what libraries were missing. That was before I found this thread
                        I found libqt3 - i586 in the package manager and added that, at which point BC3 starts without a problem. Not sure about the compat-32lib, I've not loaded anything 32 bit, and can't see it on the list, so I presume that libqt3 had everything needed.
                        I've had a quick scout around and LOVE the fact that OpenOffice documents display in text. It's a few years since I installed BC2 and rely on it heavily, but have never been back for the OO filter on the windows set-up. It's installed now and updated to BC3 on the windows machine!

                        Comment

                        • John Ross
                          Visitor
                          • Nov 2008
                          • 3

                          #13
                          I've run bcompare in 64-bit Ubuntu 8.04 for a long time but recently upgraded (fresh install) to 64-bit 9.04. Before I blindly follow Chris K's instructions above and install in 9.04 I wanted to check with the experts to see if there was anything that needed to be changed for the new OS. Any input appreciated! Thanks!

                          JR
                          Last edited by John Ross; 26-Apr-2009, 04:43 PM. Reason: typo

                          Comment

                          • oxygene
                            New User
                            • Jul 2009
                            • 2

                            #14
                            Hi,
                            just got it running under Ubuntu 9.04 (x86_64) without the need of any chroot environments. It was already mentioned how to do this in a posting in this thread, but for an older Ubuntu version.


                            Install the 32bit libs:
                            Code:
                            sudo aptitude install ia32-libs
                            Download the .tar.gz version of BeyondCompare3 and extract the archive. Then run
                            Code:
                            sudo ./install.sh
                            This will install the software in /usr/local/.

                            There should be only one missing lib (libqt3-mt) when you try to run bcompare from the console now.

                            Download the 32 bit version of the libqt3-mt package (get it here) and extract it into a temp folder by typing
                            Code:
                            dpkg-deb --extract libqt3-mt_3.3.8-b-5ubuntu1_i386.deb libqt3-mt
                            You might need to adapt this line to the actual file name in case the version has changed.

                            Now copy over the relevant files to the /usr/lib32 folder:
                            Code:
                            sudo cp libqt-mt/usr/lib/libqt-mt.so.3* /usr/lib32/
                            Now try to run bcompare from the console again. It should work now!

                            Comment

                            • jkmccarthy
                              Visitor
                              • Sep 2006
                              • 3

                              #15
                              Success installing Linux BC3 rpm on 64-bit Itanium

                              I recently installed the latest Linux BC3 rpm on 64-bit Intel Itanium architecture (ia64) Linux, using the IA32 Execution Layer (ia32el) 32-bit emulation package (see http://www.intel.com/cd/software/pro...eng/219298.htm). After installing the rpm, I had to make the following modifications in order to run BC3 successfully:

                              # mv /usr/bin/bcompare /emul/ia32-linux/usr/bin/.

                              # cd /emul/ia32-linux/usr/bin

                              # vi bcompare
                              ... to change the definition of BC_LIB to ...
                              BC_LIB=/emul/ia32-linux/usr/lib/beyondcompare
                              :wq

                              # cd /usr/lib/beyondcompare
                              # ln -s /emul/ia32-linux/usr/lib/beyondcompare/nautilus_compare.sh
                              # ln -s /emul/ia32-linux/usr/lib/beyondcompare/nautilus_compare_to_selected.sh
                              # ln -s /emul/ia32-linux/usr/lib/beyondcompare/nautilus_select_for_compare.sh

                              # cd /usr/bin
                              # ln -s /emul/ia32-linux/usr/bin/bcompare

                              ... and that's it !

                              -- Jim

                              P.S. My distribution is "Scientific Linux v4.6" which, similar to CentOS, is built from RHEL source RPMs, so the above should work on all Red Hat -based ia64 Linux distributions (RHEL, CentOS, Scientific Linux, Fedora, etc.)
                              Last edited by jkmccarthy; 17-Jul-2009, 09:50 PM.

                              Comment

                              Working...