[Xastir-Dev] Makefile optimizations for low memory machines
Curt Mills, WE7U
archer at eskimo.com
Sun Oct 26 00:23:43 EDT 2003
On Sat, 25 Oct 2003, David Flood wrote:
> Since the laptop will be at risk of possible damage by the folks viewing the
> map, I'm using an old P90 with 32M or so of RAM and compiling Xastir under
> Cygwin. This is due to the fact that I can get Windows 98 to admit the card
> can do graphics, I can't get Xwindows to admit it exists.
I'm not sure I'd recommend Xastir under Cygwin for anything critical
yet. I've had troubles now and again making Xwindows recognize a
card, but with a little patience they can usually be made to work.
> And the low memory is the rub. The 'make all' process gets as far as the
> very last call to GCC and it just sits there thrashing in ld (about 8 hours
> so far on this attempt).
Have you enough swap?
> Is there any way to break that last call to GCC into smaller chunks to link
> together and then those pre-linked (or whatever you want to call it) files
> can be finally linked together?
Nope. You could perhaps edit config.h to comment out some libraries
that you don't need for this application, and then edit src/Makefile
to remove those libraries from the link line there as well. That
would shrink the amount of memory necessary to link I believe.
You could also compile on another machine with similar libraries
loaded, then copy the xastir binary to the laptop once compiled.
Curt, WE7U. archer at eskimo.com
http://www.eskimo.com/~archer
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list