As of BeOS Release 4.0, the Intel version of the BeIDE uses the ELF object format and the gcc compiler and tools.  This document describes how to convert your projects to ELF ( Converting a Project to ELF), how to fake a pre-compiled header in ELF ( Faking a Pre-compiled Header), and tells you how to enter gcc compiler and linker options ( Compiler and Linker Options).
To use an Intel BeIDE project that were created before Release 4.0, follow the steps below.  Note that PPC project do not have to be converted.
The gcc tools don't support pre-compiled headers.  This creates a problem for developers who want to maintain project portability (between Intel and PPC).  There are two ways to work around this problem:  You can remove the pre-compiled headers from your PPC projects (and change your source to include the proper headers files), or you can include "fake" pre-compiled headers for your Intel projects.  The instructions for faking a pre-compiled header are given below:
-include /boot/develop/headers/be/precompiled/BeHeaders.pch++
This tells the compiler to include BeHeaders.pch++ in all files that are compiled.  Note that the file contains un-precompiled headers, so you won't improve compilation speed--in fact, it will probably slow down a bit.
![]() |
Do not use this option and generate debugging information at the same time.  Your compile time will slow to a crawl, and your application will assume the dimensions of a small whale. |
Some of the options are implied by the choices in the Settings window panels.  All other options can be entered in the Other > More Compiler Options and Other > More Linker Options panels.  For a full list of options, open a Terminal window and type
gcc -v --help
Note that not all of the options apply to Be applications.  Proceed with caution.