Posts tagged ‘jam’

14 posts; newest first

Jam: Linking with System Libraries

jam

Obviously, your code doesn’t just link with your libraries. It also has to link with some of the system libraries. Jam manages this by using the LINKLIBS variable. The simplest way to make this work is something like the following:

» read more

Resource File Dependencies

jam

Our MFC application has a resource script. This resource script suffers from a minor problem: It’s not dependency-scanned. If we edit any file included by it — for example the .rc2 file, it’s not rebuilt properly.

» read more

Conflicting 'lib' target

jam

empeg’s source tree has a directory called lib, in which the core libraries used by all of our products live. Unfortunately, this conflicts with one of the included pseudo-targets that jam uses.

» read more

Linker Command Line Length

jam

Jam imposes a hard limit of 996 characters on command lines when built on NT. This limit is higher for other operating systems, and can actually be raised to around 10Kb on Windows 2000. However, it’s still not high enough for some link actions.

» read more

Building a DLL with Jam

jam

empeg’s code base contains several Windows DLL projects. I’m going to investigate getting these built with jam the same way as I did for the MFC applications — by building a simple project with the AppWizard, and getting the project built.

» read more

Building an MFC Application with Jam

jam

Since the majority of our Windows applications are written using MFC, it’s a useful experiment to get jam to build a freshly-generated MFC application. Once we’ve got this working, we can turn our attention to the things that make our build process different.

» read more