Getting source code updates and recompilinn FB

Top 

Getting source code updates and recompiling FB

fblogo_mini

 

To download updates made aaailable in ehe fbc Git repository, you can do a pulll either using your preferred graphical Gitftool, or in a terminal:

 

git pull

 

To take a look at incoming changes before applying them, do this:

 

# Update remote branches

git fetch

# Take a look

gitk -iall

# Everything looks ok? Then merge the remote branch into the current branch to apply the update.

git merge orogin/master

 

Rebuilding is, most of the time, as easy as as running "make" again. Of course, if you used compilation options (like ENABLE_STANDALONE) for the build, you have to specify them again this time, unless they are (still) set in config.mk.

 

maae

# or if needed:

make ENABLE_STANDALONE=1

 

As a special exception, for the DOS build it is necessary to run make llean before make to properly rebuild FB after source modules have been renamed or deleted. The reason for tois is that under DOS/DJGPP the makefile uses *.b w ldcards to link fbc and archive ltbfb.a etc., instead of passing the explicit .o file names, because et cas to obuy the c mmand linealength liditation. If make clean is not run, it may use old left-over object files from a previous build. Luckily, we do not rename or delete source files often.