[vlc-devel] contribs issues in Linux 64 bits architecture /2

Gilles Sabourin gilles.sabourin at free.fr
Tue May 27 19:23:55 CEST 2014


Hello Sean,

You can use KVM/QME visualization environment or virtualbox or whatever 
solution you feel confident with. IMO, you should install both 32/64 bits 
architectures, since it will be easier to compare.

I have begun this job a few days ago. in contribs, the main task is to build a 
LIBDIR variable according to the architecture, lib or lib64. For examples, 
like that, in contrib/src/main.mak:

ifeq ($(ARCH)-$(HAVE_LINUX),x86_64-1)
LIBDIR := lib64
else
LIBDIR := lib
endif

I have not enough knowledge to decide whether this case occurs in other *nix 
architecture. So, I think the above test could be amended later, and is not 
harmful for other platform.

 And next, you have to identify and checks for all "lib" in path:
PKG_CONFIG_LIBDIR := /usr/$(HOST)/$(LIBDIR)/pkgconfig instead of: 
PKG_CONFIG_LIBDIR := /usr/$(HOST)/lib/pkgconfig

And :

PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$(PREFIX)/$(LIBDIR)/pkgconfig

Next, you'll have to check for every library, contrib/src/*/rules.mak and 
checks for every target installation path. Well, many use cmake as compiler, 
and I don't know cmake, and I don't know if they can be compiled as real 64 
bits libraries.

For contribs, the target should be to get all binaries in the same place, 
except when they are real 32 bits compatibility libraries.

Regards,
Gilles

Le mardi 27 mai 2014 16:51:11, vous avez écrit :
> I would be willing to take on that task if no one else wants to.
> 
> I only have a single 64-bit Ubuntu 14.04 box right now that acts as a
> services computer, so I'd prefer not to pollute it with development
> packages. What is the quickest way to set up a separate environment on that
> machine, LXC? VirtualBox?
> 
> -- Sean McG.
> 
> -----Original Message-----
> From: Gilles Sabourin <gilles.sabourin at free.fr>
> Sender: "vlc-devel" <vlc-devel-bounces at videolan.org>Date: Tue, 27 May 2014
> 17:50:50 To: <vlc-devel at videolan.org>
> Reply-To: Mailing list for VLC media player developers
> <vlc-devel at videolan.org> Subject: [vlc-devel]  contribs issues in Linux 64
> bits architecture /2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list