linking
I need to combine one eTPU executable into another eTPU executable. How can I do this?
Submitted by Kirk Zurell on Wed, 2007-11-21 15:17. eTPU_C | linkingUse the BClink directive ETPUIMAGE. During this linking, the specified executable will be linked in to the final executable. eTPU_C will perform checks to prevent conflicts between the two executables.
- Export the first executable with the following eTPU_C host interface macro in the first linker command file.
#pragma write msc, ( ::ETPUcode );
What is Absolute Code Mode?
Submitted by Kirk Zurell on Wed, 2007-11-21 15:14. eTPU_C | linkingAbsolute Code Mode in Byte Craft Limited compilers generates executable code from the compiler without a linking step. Absolute Code Mode still allows you to select object code from libraries and include it as part of an application.
What should I know about linking?
Submitted by Kirk Zurell on Wed, 2007-11-21 15:10. linkingLinking was most useful in the age of limited computing resources, on self-hosting systems. Since our customers are cross-developing, and compiling resources are effectively unlimited (given the typical sizes of the embedded executables they create), linking has declined in importance.
We advocate Absolute Code Mode, a single compile-and-link step. Absolute Code Mode simply compiles the main C module to an executable, as opposed to an object file.
In fact, choosing to use object files can raise some interesting consequences:
How can I add a #define to the linker command file in BCLIDE?
Submitted by Kirk Zurell on Tue, 2007-11-20 21:46. linking | supportIf the #define is not already present in a header file or C program module, create a new header file for it and list the file in the Include Files list. Select the Include Files tab and click . In the Open dialog, choose the file and click .
The compiler isn't obeying my customized layout of memory resources and functions. What's wrong?
Submitted by Kirk Zurell on Tue, 2007-11-20 21:43. linking | supportMake sure you're supplying all #pragma directives to BClink. BClink uses the same device configuration information during linking as the compiler does during Absolute Code Mode. BClink performs a final code generation pass over your object files, and needs this information to allocate variables and program code locations.
BCLIDE
IDE | linkingOur windows products feature the BCLIDE, a custom-designed integrated development environment. Though everyone has their favourite IDE, BCLIDE has a few features that make it stand out:
Libraries
Absolute Code Mode | bclink | libraries | linkingAll Byte Craft Limited Code Development Systems ship with math libraries. These libraries implement long math routines and other math operations that are not internally generated by the compiler. The math libraries ship with source code, so you can inspect the C code used to implement them.

New: