Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^7: EXTERN.h missing when compiling on OpenWrt

by morgon (Priest)
on Dec 12, 2018 at 10:25 UTC ( [id://1227138]=note: print w/replies, xml ) Need Help??


in reply to Re^6: EXTERN.h missing when compiling on OpenWrt
in thread EXTERN.h missing when compiling on OpenWrt

I have a working gcc and make on the device.
  • Comment on Re^7: EXTERN.h missing when compiling on OpenWrt

Replies are listed 'Best First'.
Re^8: EXTERN.h missing when compiling on OpenWrt
by Anonymous Monk on Dec 14, 2018 at 07:31 UTC

    I have a working gcc and make on the device.

    The device is crippled (ram) so it doesn't matter what you have on it

    Best option is to cross compile,

    I imagine that is loading a virtual machine on a desktop with enough ram to handle the job

    Then you can share a tarball/rpm/whatever to the package repository

      Because I hate cross-compiling and something may go complex with dependencies, can I ask why not make more RAM by adding SWAP from a USB?

      Lot's of options if no USB port is available: e.g. mount a remote filesystem and make the SWAP on mounted disk. Or mount a USB from a remote host and use that as SWAP.

      bw, bliako

        It's a very slow device, even compared to a 15 year old netbook (trust me, I'm using one now), RAM isn't the only issue, the CPU is also weak. Adding SWAP to an embedded device, local or remote is going to be slower than cross compiling. The wrt docs on cross compiling are straight forward. Given that time is arguably the most valuable commodity AM suggesting this solution is a valid point.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1227138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-18 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found