Re: Dynamically linking libxul into a non-Firefox program for testing

2016-10-14 Thread Henri Sivonen
On Thu, Oct 13, 2016 at 12:54 AM, Mike Hommey wrote: > On Wed, Oct 12, 2016 at 04:42:14PM +0300, Henri Sivonen wrote: >> On Tue, Oct 11, 2016 at 1:03 AM, Mike Hommey wrote: >> > On Mon, Oct 10, 2016 at 06:24:33PM +0300, Henri Sivonen wrote: >> >> For benchmarking purposes, I'd like to call uconv

Re: Dynamically linking libxul into a non-Firefox program for testing

2016-10-12 Thread Mike Hommey
On Wed, Oct 12, 2016 at 04:42:14PM +0300, Henri Sivonen wrote: > On Tue, Oct 11, 2016 at 1:03 AM, Mike Hommey wrote: > > On Mon, Oct 10, 2016 at 06:24:33PM +0300, Henri Sivonen wrote: > >> For benchmarking purposes, I'd like to call uconv from a Rust > >> program. Since building uconv separately

Re: Dynamically linking libxul into a non-Firefox program for testing

2016-10-12 Thread Henri Sivonen
On Tue, Oct 11, 2016 at 1:03 AM, Mike Hommey wrote: > On Mon, Oct 10, 2016 at 06:24:33PM +0300, Henri Sivonen wrote: >> For benchmarking purposes, I'd like to call uconv from a Rust program. >> Since building uconv separately from Gecko hasn't really been >> maintained, I figured that I'd export a

Re: Dynamically linking libxul into a non-Firefox program for testing

2016-10-10 Thread Mike Hommey
On Mon, Oct 10, 2016 at 06:24:33PM +0300, Henri Sivonen wrote: > For benchmarking purposes, I'd like to call uconv from a Rust program. > Since building uconv separately from Gecko hasn't really been > maintained, I figured that I'd export a small number of C-linkage > functions from libxul, dynami

Dynamically linking libxul into a non-Firefox program for testing

2016-10-10 Thread Henri Sivonen
For benchmarking purposes, I'd like to call uconv from a Rust program. Since building uconv separately from Gecko hasn't really been maintained, I figured that I'd export a small number of C-linkage functions from libxul, dynamically link with libxul as built as part of Linux x86_64 Firefox and cal