 |



 |
linux
simbab | |
 |
 |
 |
 |
|
 |
 |
I have a Qt application I need to run on Mac OS X. It's going to be a "portable" application, as in, download the .app bundle inside a ZIP file and run it. No installs, no admin privileges assumed. Due to the way Mac OS X works, it is possible to take a regular, dynamically-linked executable that is linked to Qt and put the .dylib binaries (libQtCore.4.dylib, etc.) inside the bundle and the linker will find them. This is pretty expensive in terms of application size, however, considering I am download the app from my home server which only has a 1Mbps uplink. If I split the Universal binaries into separate bundles and compress them in ZIP files, a single (i386 or ppc) download weighs in at about 6MB. This is not bad, but I wondered if I could go one better by using static linking to include Qt. My question is this—is static linking intelligent enough to jettison functions of Qt that I don't touch at all, thus potentially further reducing the size of the resultant binary? I tried static linking on Linux and came up with a binary that was about 6MB, or around 3MB compressed using gzip or ZIP. I can also configure out things I don't need (e.g. WebKit, SQL support, Qt3 compatibility) since I have to self-compile Qt anyway to get statically-linkable binaries on Mac OS X. Thoughts? Current Location: Liverpool, NY Current Mood: curious
|
 |
 |
 |
 |
|
 |
 |




 |
linux
budhaboy | |
 |
 |
 |
 |
I've got a box running Hardy Heron I've been using as a file server. It's been acting a little flaky lately, and today for some peculiar reason when it reboots the machine seems to just die. I can log in remotely, the shares still work, I just can't access the box locally.
When it does boot, just before the orange line gets to the end (on the splash screen) there's a peculiar system beep (i.e. not through the audio port), then nothing.
I've tried restarting in recovery mode, and there don't appear to be any obvious problems... until you get to the login screen, and the video gets wonky and it appears to hang.
I've tried booting from the live CD, but the options on what to repair aren't obvious... I strongly suspect a boot drive is failing, but what do I know?
I'd like to keep all the configurations as I've got a rather large OS RAID I'd hate to reconfigure, as well as the server settings. Is there an easy way to back up the relevant boot drive settings remotely, replace the boot drive, and install a more recent version of ubuntu (while still retaining the settings)?
|
 |
 |
 |
 |
|
 |
 |


|
 |
|
 |