d-ifaddrs.h depends on sockaddr (defined in sys/socket.h), but never
> includes it. linux-core.c does include it, but only after including
> android-ifaddrs.h.
>
> On 1403990292582, Skirmantas Kligys wrote:
>>
>> I am trying to build a rustc for x86_64 Linux that would cross-com
I am trying to build a rustc for x86_64 Linux that would cross-compile
to Android. I follow instructions on this page:
https://github.com/rust-lang/rust/wiki/Doc-building-for-android
Here is my configure command line:
../configure --prefix=/usr/local/stow/rust-android-20140627
--target=arm-linu
is the correct way to compile:
rustc --target arm-unknown-linux-gnueabihf -C
linker=arm-linux-gnueabihf-g++ hello.rs
Thanks for help!
> On Sun, Jun 8, 2014 at 2:57 PM, Skirmantas Kligys
> wrote:
>> Luqman Aden writes:
>>>
>>> Building a Rust cross compiler that can ta
Luqman Aden writes:
>
> Building a Rust cross compiler that can target arm isn't too hard. You
just need the right toolchain installed. I personally use Debian with the
gcc-4.7-arm-linux-gnueabi package from the Emdebian repo. (I believe Ubuntu
and other distros have similar packages). From th
On Sun, May 12, 2013 at 3:23 AM, Florian Weimer wrote:
> * Skirmantas Kligys:
>
>> I am trying to write a native wrapper for
>>
>> https://github.com/pascalj/rust-expat
>>
>> (BTW, if there is a native Rust XML parser, I am interested to hear
>> about it,
I am trying to write a native wrapper for
https://github.com/pascalj/rust-expat
(BTW, if there is a native Rust XML parser, I am interested to hear
about it, did not find it). I have trouble calling back into Rust
from C code:
fn set_element_handlers(parser: expat::XML_Parser, start_handler:
&f