This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make Stap compatible with Android


Nope. That doesn't work.
I can have a look how to build a cross compiler with elfutils/libz support.
On my opinion, this does far beyond what someone should when compiling
stap{io,run} for Android.

- Alex

On 06.05.2018 22:45, Mark Wielaard wrote:
> On Sun, May 06, 2018 at 06:21:31PM +0200, Alexander Lochmann wrote:
>>> The patch works, but I can't build elfutils:
>>>
>>> ./configure  --with-elfutils=/home/alex/Downloads/elfutils-0.170
>>> --host=arm-none-linux-gnueabi
>>> configure: error: zlib not found but is required
>>>
>> This happens with the Ubuntu default arm compiler as well.
> 
> elfutils needs zlib development headers to be installed.
> I don't know which those are for a cross-compile. But for
> a native build just apt-get install libz-dev.
> 
> Cheers,
> 
> Mark
> 
> 

-- 
Technische Universität Dortmund
Alexander Lochmann                PGP key: 0xBC3EF6FD
Otto-Hahn-Str. 16                 phone:  +49.231.7556141
D-44227 Dortmund                  fax:    +49.231.7556116
http://ess.cs.tu-dortmund.de/Staff/al

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]