PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 13, 2022

[FIXED] How to move packages from a build machine into a SDK/cross compiler tool chain

 September 13, 2022     cross-compiling, cross-platform, sdk, ubuntu-18.04     No comments   

Issue

I am aiming to build an sdk targeting 32bit debian8 platform. And would like to move few packages likes cmake, maven, scons etc on to the sdk. These packages helps to compile the code (cmake, scons etc) but doesn't actually present/needed on the robot.

Rather than compiling these pkgs, I was advised to fetch the pre-build packages/binaries and all their dependencies from the build system (here build system = host system = ubuntu18.04 ) and place them in SDK folder.

How can I point all the sysloader files to load them from the local SDK. Thus making it self contained ?

Not sure, if this works or at-least hard to make it work ? Is this the right way of doing it ?

Can you guys shed some light on this. Thanks.


Solution

I moved the packages to the desired location and used patchelf. I have observed that Home brew on linux is also performing the patching (brew install -v)



Answered By - BhanuKiran
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing