DSL Tips and Tricks :: A quick guide on compiling XOrg 7.0 on DSL
Wow, I never thought it was a debug compilation by default... should have thought of that! Thought that that behaviour was default only if you grabbed the code from the dev tree. Here's a thread: http://lists.freedesktop.org/archives/xorg/2006-February/013414.html Perhaps you can also do the same with the build-from-tarballs script.
Typically debug stuff is useful for developers and testing, i.e. bug reports, etc. whereas production code doesn't need this at all.
I don't think sun hardware would be used at all, so it's probably better to remove it anyways but I could be wrong... I'll try it again later. There's also some interesting minimal configurations from here: http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xmlI removed sun drivers too to lessen problems
Debug symbols are always compiled in (so that if it crashes, it prints the function name not just numbers or something like that). The -g switch, which most configures add, increases them notably, and if you replace that with -s, they are stripped during compilation..I tried out the stripped extensions from ^hats^ and curaga - thanks for taking an interest - and found the following:
curaga's extension - I could only run x as root. At first I thought that this was due to the symlink /opt/xorg72/var/log -> /var/log being root/ssl-something instead of root/staff but I am not sure if this would require running as root. Where I would normally get error messages about dri/drm in the xorg log (due to the i915 kernel module being too old), I did not get any errors but there was no sign of dri/drm loading - maybe this functionality was stripped out?
^hats^ extension - seemed to work OK and xorgconfig worked. I assume you must have stripped my larger extension if this functionality worked?I've no idea how that happened. I didn't touch anything except fonts, helloworld programs, sun drivers, that weird symlink and debug symbols..Still trying to compile a newer i915 kernel module to test things properly - am I missing something here: