On Mon, November 19, 2012 16:43, Mark Morgan Lloyd wrote: > Jonas Maebe wrote: > >> To find out the message number of a particular message, compile with >> -vq. And you can only suppress warnings/notes/hints with that switch. > > Noting somebody's recent comment about using -Xs- when building the > compiler, that looks like another useful thing that people building from > a snapshot or from subversion should be putting in. > > make NOGDB=1 OPT='-O- -gl -Xs- -vq' all > > Anything else?
Well, usefulness of various parameters always depends on your needs. I don't think that -vq is very useful or important (and especially not for building the compiler) unless you specifically look for disabling certain messages or automated parsing of compiler output. Similarly, '-O- -gl -Xs-' are certainly not options to be always used for building the compiler unless you want to debug some problem in the compiler. Depending on your use case, users certainly may want to use snapshots with optimizations enabled. 'NOGDB=1' falls probably into a similar category - if you don't have the proper libgdb and are not interested in installing it (or it is not available for the particular platform), you need this parameter, otherwise there may not be many reasons for including it even when generating a snapshot. I'm sure there are other parameters which may be very useful depending on the context (e.g. -vwih or even -va when solving compilation issues during snapshot generation, etc.)... Tomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal