The Borland C++ 4.53 is the most capable, as it can output DOS (in all memory models) and Windows 3.1 and 95 executables, from several IDEs, either a DOS or Windows one. It includes command line tools, but again, it has to be hosted on a PC platform or something like DOSBox.
This original package for Borland C 4 was fairly hefty, but not nearly as insane as the literal bookshelf which came with Borland C++ 3.1. Borland C++ 3.1 is more than likely the heaviest and largest retail commercial software product box in history.