Jump to content
funtoo forums
uudruid74

Status of Crossdev?

Recommended Posts

What's the status of crossdev?  I'm getting a message to convert /etc/portage/package.mask to a directory.   My magic wand is broken.  WTF am I supposed to do to the file?

 

And IRC is saying crossdev is broken permanently.  I just want to cross-compile 1 stinking package (need not be an ebuild, I can build from source tarball) so I can stick it on my phone (its rooted).   Whats the fastest way to get a cross-compiler installed?   I can build it manually.  I did it about 15 years ago but I can't remember how the  F&^% I did it!

 

 

Share this post


Link to post
Share on other sites

Why converting package.mask to a directory seems so confusing? just stick the file you have now with a different name inside the new directory.
But the fastest way is to use the android provide binaries by android, I'm assuming you have an android phone, install the android-sdk-update-manager, add yourself to the android group, launch it and select the 'SDK Platform' for the version you are using and install it, it will install a crosscompiler for arm,

and this will end up in your PATH:

/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin

/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin
/opt/android-ndk/toolchains/mipsel-linux-android-4.9/prebuilt/linux-x86_64/bin

Share this post


Link to post
Share on other sites

I have an SDK update manager on my desktop, but it mainly installs Java libs and its a GUI tool. I just want the cross compiler, not a dull Android ask, and must be able to install it from a shell. There is no GUI on the devel box. I'd prefer not to break the package manager, but if I have to I will.

 

Do have a URL for the download? I was thinking of using a deb or rpm package and just manually installing it.

Share this post


Link to post
Share on other sites

And what I was confused about is WHY  I should have to make such a change.  This should be set up one way or the other, not have packages tell me to change my directory structure back and forth.   Its not making any sense.

Share this post


Link to post
Share on other sites

https://android.googlesource.com

search for platform/prebuilts/gcc/linux-x86*,  I think you could just unpack it to something like ~/opt/ and change the environment variables accordingly, would do the work, but crafting an ebuild that neatly downloads this an unpacks it to /opt, and adds the paths to /etc/profile.d/, isn't complicated to make either, and you get to have something you could reuse later.
 

I don't know if it would fit what you are doing, but there's an app called Terminal IDE[1] on google play, that comes with gcc(though old 4.4), ssh(server, or was telnet I don't remember) , vim and tmux. and it's a few taps away.

 

[1]https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×