The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
For those who love dual-mode gcc distros like TDM-gcc,
I've created this little clang-cl.bat file which tries to do the same
for clang-cl. No freaking "vcvarsall.bat" silliness.
:: Dual-mode .bat file for clang-cl.
:: Use as "clang-cl.bat -m32" or "clang-cl.bat -m64"
:: from GNU-make etc.
:: If used without a '-m32' or '-m64', simply calls the first
:: clang-cl.exe on PATH.
:: Make sure you have both 32 and 64-bit clang installed, duh!
:: Edit the paths below to suite your setup.
if %1. == -m32. (
) else if %1. == -m64. (
) else (
Beware, little tested with cmd (the shell from hell IMHO) as I mostly use JPsoft's
4NT (which still works as a charm in Win-10 approx 12 years after it was created).
On a serious note - and since I have no idea what you are talking about it's difficult to be serious - this would probably be best served if you post it as a tip: Submit a new Article or Tip[^]
Add a little more info on what problem it's trying to solve, and submit it (a downloadable version of the .BAT file would be good as well).
Tips and Articles last a lot longer than Lounge posts, which will be paged out of sight by the beginning of next week and may never be seen again. They are also easier to search for!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
You got to remember though most of us have been doing this for years on here. If you come up with something too fiendish we will just spend 5 minutes on it and give up and wait for the next days. Theres a fine line between being too easy and being too hard that people won't bother.