Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Creating Really Teensy ELF Executables for Linux

Linux

Creating Really Teensy ELF Executables for Linux

Post date: April 12, 2005, 18:04 Category: Miscellaneous Views: 2516 Comments
Tutorial quote: If you're a programmer who's become fed up with software bloat, then may you find herein the perfect antidote.

This document explores methods for squeezing excess bytes out of simple programs. (Of course, the more practical purpose of this document is to describe a few of the inner workings of the ELF file format and the Linux operating system. But hopefully you can also learn something about how to make really teensy ELF executables in the process.)

Please note that the information and examples given here are, for the most part, specific to ELF executables on a Linux platform running under an Intel-386 architecture. I imagine that a good bit of the information is applicable to other ELF-based Unices, but my experiences with such are too limited for me to say with certainty.

The assembly code that appears in this document is written for use with Nasm. (Besides being more appropriate for our needs, Nasm's syntax beats the hell out of AT&T syntax for anyone who learned x86 assembly language before learning to use Gas.) Nasm is freely available and extremely portable; see http://nasm.sourceforge.net/.

Please also note that if you aren't a little bit familiar with assembly code, you may find parts of this document sort of hard to follow.
Linux

Application optimization with compilers for Linux on POWER

Post date: May 23, 2005, 16:05 Category: Optimizing Views: 2707 Comments
Tutorial quote: The Linux on POWER platform offers more than one option to produce binary C/C++ code. In addition to supporting both 32- and 64-bit runtime environments simultaneously, Linux on POWER has two compiler collections. The GNU Compiler Collection, or GCC, is consistent with other Linux implementations with specific exceptions for the POWER architecture. GCC is the leading compiler for portability but also features a number of performance enhancements for optimizing code. The IBM XL C/C++ compiler for Linux on POWER is derived from the high performance compiler for AIX but uses the GNU linker and assembler to create ELF objects that are fully compatible with objects produced by GCC. This document provides side-by-side comparisons of how these two compilers are controlled, overviews of what the compilers are capable of, in terms of optimization, and tips for writing code that is more easily optimized with either of these compilers.
PC-BSD

Creating PC-BSD Packages (.pbi's)

Post date: September 1, 2005, 02:09 Category: Software Views: 5838 Comments
Tutorial quote: I've found a neat, clean and fast way of creating PBI's that works 100%. and im writing this HOW-TO to explain it.
Unix+clones

OpenOffice 2.0: Creating database forms

Post date: December 13, 2005, 12:12 Category: Software Views: 2854 Comments
Tutorial quote: ather than having a shallow affair with OpenOffice 2.0, we can use it to get a little more intimate with the data. We can even badger it into forming relations. Why force your database tables into a marriage with OpenOffice? Because, as with human relations, life -- and data -- are pretty meaningless without tight connections.

This tip on creating forms is part of a series I'm writing on OpenOffice.org 2.0 Base. So far, I've discussed making a plain database from scratch, creating tables, entering data using the table editor and a simple form and creating a view of a table or tables.

Let's start off with a description of what table relations are anyway, then discuss how to create a data entry form like this one, which has data from two related tables.
Slax

Creating a custom live CD with Slax

Post date: June 15, 2005, 16:06 Category: Miscellaneous Views: 7352 Comments
Tutorial quote: Live CDs can be useful for testing an operating system or performing special operations -- assuming there's a live CD distro that does what you need. Unfortunately, if you are running a special application, especially one you wrote yourself, no live CD will be tailored exactly to your needs. But creating you own live CD is easier than you might think, with Slax and its easy customization utility MySlax Creator.
Linux

Easy Linux Network Backup

Post date: April 12, 2005, 23:04 Category: Network Views: 2759 Comments
Tutorial quote: If you use Linux, you already have access to extremely powerful tools for creating custom backup solutions. The solutions in this article can help you perform simple to more advanced and secure network backups using open source tools that are part of nearly every Linux distribution.
RedHat

Creating desktop profiles with Sabayon

Post date: July 18, 2005, 22:07 Category: Desktop Views: 6065 Comments
Tutorial quote: Instead of creating a new desktop setup every single time a new user comes along, it would be much easier to create some templates. If only there were an easy way to make and manage these templates.

Fortunately, we are not the first to ponder this issue. The creators of Sabayon decided to tackle the lack of a good desktop setting management tool. With Sabayon, they created an application that handles these problems and more.
Linux

Creating DjVu Documents Linux HOWTO

Post date: July 16, 2006, 16:07 Category: Miscellaneous Views: 3624 Comments
Tutorial quote: This document explains some of the uses of djvulibre implementation of DjVu for creating quality DjVu documents in linux. DjVu format features bitmap document compression and hypertext structure. It is used by numerous web sites all around the world for storing and distributing digital documents including scanned documents and high-resolution pictures. One of the advantages of DjVu files is that they are notably small, often smaller than PDF or JPEG files with the same content. This makes DjVu a helpful tool for digitizing books and journals, especially scientific ones.

Below it is considered the case when a DjVu document is created from a number of separate JPEG files each containing a single page. Here JPEG format is not a limitation, and the examples can cover arbitrary image formats. Conversion from PDF to DjVu is also discussed. Usage of scanner software is not explained: refer to the relevant documentation.
Debian

Cloning Linux Systems With CloneZilla Server Edition (CloneZilla SE)

Post date: January 22, 2009, 12:01 Category: Miscellaneous Views: 30949 Comments
Tutorial quote: This tutorial shows how you can clone Linux systems with CloneZilla SE. This is useful for copying one Linux installation to multiple computers without losing much time, e.g. in a classroom, or also for creating an image-based backup of a system. I will install CloneZilla SE on a Debian Etch server in this tutorial. The systems that you want to clone can use whatever Linux distribution you prefer.
Unix+clones

Creating (and Maintaining) Perl Modules

Post date: May 1, 2005, 17:05 Category: Programming Views: 2981 Comments
Tutorial quote: The goal of this web page is to help you write easily maintainable and re-usable code. In Perl, re-usability is implemented through modules, which are similar to libraries in other languages.

This page will guide you through creating your module and documenting it, as well as giving you some tips on how to make your code as maintainable and re-usable as possible.
Web-based applications and online marketing solutions - LumoLink