[Clc-crux64] Re: libglut crux port
On Sun, 28 Aug 2005 20:37:36 +0200 (CEST) Lars Helmer wrote:
i recently installed your x86-64 iso and it works great!
Nice to hear.
my next step is getting ati's drivers up and running, but they require some 32 bit stuff installed. most of which is present in your compat32 repo, but not all.
Hmm, do you know that you cannot mix up 64bit and 32bit libraries?
now to my issue, mesa is needed and the mesa port depends on the libglut port, so i figured i'd start with a 64 bit version of libglut. i modified the libglut port a bit (Pkgfile attached) but the libglut.la file is inevitably 32 bit. so, where does it come from, and how do i create a 64 bit version?
First of all, libglut.la is just an ASCII text file. Its job is to help the GNU linker (ld) to include all necessary files. I created that file myself (manually) - it's not generated by any script of libglut's sources. Change the lib-paths and you'll get a '64bit' version of it. -------snip-------- [..] # Libraries that this one depends upon dependency_libs=' -lGLU -L/usr/X11R6/lib64 -lSM -lICE -lXmu -lXext -lXi -lX11' [..] # Directory that this library needs to be installed in: libdir='/usr/lib64' -------snap-------- bye, danm -- Daniel Mueller http://www.danm.de Berlin, Germany OpenPGP: 1024D/E4F4383A
yeah, maybe we should take this on the list for everyones benefit... On Sun, August 28, 2005 9:55 pm, Daniel Mueller said:
On Sun, 28 Aug 2005 20:37:36 +0200 (CEST) Lars Helmer wrote:
i recently installed your x86-64 iso and it works great!
Nice to hear.
my next step is getting ati's drivers up and running, but they require some 32 bit stuff installed. most of which is present in your compat32 repo, but not all.
Hmm, do you know that you cannot mix up 64bit and 32bit libraries?
what do you mean? it is 64 bit drivers (why they depend on some 32 bit packages i don't know...)
now to my issue, mesa is needed and the mesa port depends on the libglut port, so i figured i'd start with a 64 bit version of libglut. i modified the libglut port a bit (Pkgfile attached) but the libglut.la file is inevitably 32 bit. so, where does it come from, and how do i create a 64 bit version?
First of all, libglut.la is just an ASCII text file. Its job is to help the GNU linker (ld) to include all necessary files. I created that file myself (manually) - it's not generated by any script of libglut's sources.
Change the lib-paths and you'll get a '64bit' version of it.
thanks, i had no idea this is how it hangs together... i guess one learns something new every day... ;) danm, do you want me to send you a copy of the port for the contrib64 repo? cheers, lars
-------snip--------
[..] # Libraries that this one depends upon dependency_libs=' -lGLU -L/usr/X11R6/lib64 -lSM -lICE -lXmu -lXext -lXi -lX11' [..] # Directory that this library needs to be installed in: libdir='/usr/lib64'
-------snap--------
bye, danm
-- Daniel Mueller http://www.danm.de Berlin, Germany OpenPGP: 1024D/E4F4383A _______________________________________________ Clc-crux64 mailing list Clc-crux64@lists.berlios.de http://lists.berlios.de/mailman/listinfo/clc-crux64
On Mon, 29 Aug 2005 00:31:57 +0200 (CEST) Lars Helmer wrote:
Hmm, do you know that you cannot mix up 64bit and 32bit libraries? what do you mean? it is 64 bit drivers (why they depend on some 32 bit packages i don't know...)
See [1] Quote: [..] Although the processor can schedule processes to run in compatibility mode while the operating system runs in long mode, a single process _cannot_have_both_ x86 and AMD64 code segments linked together, nor can a single process run in both long and compatibility modes. This means that the AMD64 Linux kernel cannot use x86 drivers unless the drivers are recompiled to the AMD64 architecture. [..]
danm, do you want me to send you a copy of the port for the contrib64 repo?
If you like, yes. bye, danm [1] http://www.amd.com/us-en/assets/content_type/DownloadableAssets/Porting_x86_... -- Daniel Mueller http://www.danm.de Berlin, Germany OpenPGP: 1024D/E4F4383A
participants (2)
-
Daniel Mueller
-
Lars Helmer