make clean all LINKSMART=1 CREATESMART=1 DEBUG=1 OPTIMIZE=0 OPT="-gl -gw -godwarfsets -O-1"
I'd love to see a list of what these and other options mean ....
make -> command that is named make
clean -> make option clean, simply makes things clean
all -> make option all
Going to link to some fpcmake topics (which i know is not entirely correct, but seems to have easiest explanation). For real make see
here (original gnu document
here and
gnu make manual )
cleanallFor LINKSMART, CREATESMART, DEBUG, OPTIMIZE and OPT options see
here.
Now what do the OPT parameters do ? see
hereYou also might want to have a look at the
build-faq.
It is all there... you just don't seem to be able to find it (yet). Try harder
Anyway, I found that 3.0.4 says its not capable of building itself,
That is correct. The official path is to use the previous (latest) release to build your compiler.
I had to install 3.0.2 and think I can build 3.0.4 with that.
That is correct.
Right now, I tuck that away off to the side because if I let it override my install of 3.0.2, I cannot go back ? I'm thinking I don't quite get it .....
You can have multiple version of FPC compiler installed. In case you are worried to override your 3.0.4 install then create that compiler by using make zipinstall , as that compresses the compiled files into an archive for you (and doesn't do an actual install). That way you can neatly tuck that archive somewhere safe to be used on a later date. Simply copy out the unit directory to your existing 3.0.4 installation to replace the non-debug build with your freshly compiled (with debug) units. Or put them alongside your existing installed units, f.e. into a director named unitsdbg (you would have to modify fpc.cfg in that case so that when you build in debug-mode the corret units directory is used.
Should 3.0.4 be able to build itself ?
No, although that would make life easier for a lot of people
Now, in my particular case, I don't actually need to rebuild the compiler (I think) only the RTL.
That is correct. Building the compiler is just easier to accomplish (although it takes a bit more time).