Jump to content

Photo

Status of Crossdev?


5 replies to this topic

#1
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

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!

 

 


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#2
j-g-

j-g-

    Advanced Member

  • Members
  • PipPipPip
  • 80 posts

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



#3
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA
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.

https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#4
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

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.


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#5
j-g-

j-g-

    Advanced Member

  • Members
  • PipPipPip
  • 80 posts

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....ex.spartacuside



#6
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

I don't need an Android app.  I'm trying to get jack compiled for Android.  Its been ported, I just need to compile it.  Although ... it would seem it not going to be easy!


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users