Sonic and Sega Retro Message Board: HOWTO: Compile Gen/GS r7 for linux - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

HOWTO: Compile Gen/GS r7 for linux Compile Gens/GS r7 on a recent linux distro

#16 User is offline Andlabs 

Posted 25 October 2012 - 11:58 AM

  • 「いっきまーす」
  • Posts: 2175
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
I can't distclean if I don't have a Makefile to begin with...

I figured out how to do the pkg-config myself and got a working configure/Makefile, but now the system refuses to link due to multiarch shenanigans: there does not seem to be a libxxx.so in any of the 32-bit library directories, only libxxx.so.#, for libraries like libpng, libX11, etc. Is there anything I can do to fix this? This affects even a simple test compilation (echo 'main(){}' | g++ -m32 -o /dev/null -x c - -lpng; moving -m32 around and using -x c++ do not help), not just this one (so make distclean will not help). Thanks.
This post has been edited by Andlabs: 25 October 2012 - 12:03 PM

#17 User is offline Andlabs 

Posted 26 October 2012 - 02:19 AM

  • 「いっきまーす」
  • Posts: 2175
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
Okay, I got it built, sorta... by manually going in and ln -s-ing all the relevant libraries (with libGL coming from mes like on the normal system), and then editing the last libtool g++ line to change the two libraries that were still being manually taken from the x86_64 side to the proper -l argument. :| I'm pretty sure this is the wrong way to do it, but it worked for me... I can post the revised autotools configuration the person in #autotools who helped me (GeneralCase) made once I ask him.

#18 User is offline Chilly Willy 

Posted 28 October 2012 - 06:58 PM

  • Posts: 746
  • Joined: 10-April 09
  • Gender:Male
  • Project:Doom 32X
Very strange... building 32-bit on a 64-bit system just doesn't work the same as on 32-bit. I ran into none of that... all I ran into were those deprecated glib functions in the GUI that needed to be changed to the new functions.

  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users