Results 1 to 8 of 8

Thread: Recommendations For Porting Your Game To Linux

  1. #1
    Join Date
    Jan 2007
    Posts
    14,527

    Default Recommendations For Porting Your Game To Linux

    Phoronix: Recommendations For Porting Your Game To Linux

    Leszek Godlewski, the developer that ported Painkiller to Linux and previously talked about lessons in porting games to Linux (plus more), he's now out with an article covering other recommendations for potential Linux game developers...

    http://www.phoronix.com/vr.php?view=MTY1Njc

  2. #2
    Join Date
    Nov 2012
    Location
    France
    Posts
    559

    Default

    For my current project, switching the linker from GNU ld to gold took the link time down from 18 to 5 seconds on my Xeon E3-1240 v3.
    Too bad we can't test it by ourselves. *cough cough*

    we shouldn't need to be doing all this, we shouldn't need to do so much research and documentation crunching just to do such basic things
    We shouldn't need condoms.

  3. #3
    Join Date
    Oct 2010
    Posts
    424

    Default

    Quote Originally Posted by Calinou View Post
    Too bad we can't test it by ourselves. *cough cough*
    Sure you can (just not with his code), just follow the advice given in the discussed article, and maybe this too, and compile your favorite program once with gnu ld and once with gold. Simple enough, I'd think.

  4. #4
    Join Date
    Nov 2012
    Location
    France
    Posts
    559

    Default

    Quote Originally Posted by Nobu View Post
    Sure you can (just not with his code)
    That was the point!

  5. #5
    Join Date
    Dec 2009
    Posts
    334

    Default

    A pity Painkiller Hell and Damnation isn't available DRM-free. I'm playing now the first game (GOG version in Wine).

  6. #6
    Join Date
    Oct 2010
    Posts
    424

    Default

    I don't see why you need his code to validate the claim that ld.gold is faster than default ld. You might as well complain that you don't have a Xeon processor while you're at it.

  7. #7
    Join Date
    Oct 2010
    Posts
    424

    Default

    Oh btw, gold is in binutils by default on ArchLinux. I think -fuse-linker-plugin -fuse-ld=gold in compiler options works for enabling it, but I don't know how to verify that at the moment.

  8. #8
    Join Date
    Apr 2013
    Posts
    65

    Default

    Quote Originally Posted by Nobu View Post
    Oh btw, gold is in binutils by default on ArchLinux. I think -fuse-linker-plugin -fuse-ld=gold in compiler options works for enabling it, but I don't know how to verify that at the moment.
    yes it is

    pacman -Ql binutils | grep /usr/bin

    it is just not the default one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •