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

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

  • Comment on Re^9: EXTERN.h missing when compiling on OpenWrt

Replies are listed 'Best First'.
Re^10: EXTERN.h missing when compiling on OpenWrt
by marto (Cardinal) on Dec 14, 2018 at 10:02 UTC

    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.

      sure. just interested for the pros/cons of each