Click here to Skip to main content
14,329,845 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.
 
GeneralRe: what do you think about ad blocking? Pin
David Crow12-Jan-18 5:36
memberDavid Crow12-Jan-18 5:36 
GeneralRe: what do you think about ad blocking? Pin
theoldfool12-Jan-18 6:04
professionaltheoldfool12-Jan-18 6:04 
GeneralRe: what do you think about ad blocking? Pin
Scott Serl12-Jan-18 6:30
memberScott Serl12-Jan-18 6:30 
GeneralRe: what do you think about ad blocking? Pin
dandy7212-Jan-18 6:58
memberdandy7212-Jan-18 6:58 
GeneralRe: what do you think about ad blocking? Pin
kmoorevs12-Jan-18 8:26
memberkmoorevs12-Jan-18 8:26 
GeneralRe: what do you think about ad blocking? Pin
Joe Woodbury12-Jan-18 11:31
professionalJoe Woodbury12-Jan-18 11:31 
GeneralRe: what do you think about ad blocking? Pin
Marc Clifton13-Jan-18 2:08
protectorMarc Clifton13-Jan-18 2:08 
GeneralDual-mode for clang-cl.bat file Pin
Gisle Vanem11-Jan-18 23:57
memberGisle Vanem11-Jan-18 23:57 
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.

@echo off
::
:: 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.
::
setlocal
set CL_32=f:\ProgramFiler\LLVM-5-32bit
set CL_64=f:\ProgramFiler\LLVM-5-64bit
set CL=

if %1. == -m32. (
  shift
  %CL_32%\bin\clang-cl.exe %*

) else if %1. == -m64. (
  shift
  %CL_64%\bin\clang-cl.exe %*

) else (
  clang-cl.exe %*
)


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).

Comments and improvements are welcome.
-- Gisle V.

GeneralRe: Dual-mode for clang-cl.bat file Pin
OriginalGriff12-Jan-18 0:07
protectorOriginalGriff12-Jan-18 0:07 
GeneralRe: Dual-mode for clang-cl.bat file Pin
glennPattonWork12-Jan-18 0:10
professionalglennPattonWork12-Jan-18 0:10 
GeneralRe: Dual-mode for clang-cl.bat file Pin
OriginalGriff12-Jan-18 0:23
protectorOriginalGriff12-Jan-18 0:23 
GeneralRe: Dual-mode for clang-cl.bat file Pin
OriginalGriff12-Jan-18 2:05
protectorOriginalGriff12-Jan-18 2:05 
GeneralRe: Dual-mode for clang-cl.bat file Pin
Richard MacCutchan12-Jan-18 3:17
protectorRichard MacCutchan12-Jan-18 3:17 
GeneralRe: Dual-mode for clang-cl.bat file Pin
Gisle Vanem12-Jan-18 4:55
memberGisle Vanem12-Jan-18 4:55 
GeneralRe: Dual-mode for clang-cl.bat file Pin
H.Brydon15-Jan-18 18:14
professionalH.Brydon15-Jan-18 18:14 
QuestionProgramming Question of the Week? Pin
"mega"-in-a-fake-beard11-Jan-18 23:02
professional"mega"-in-a-fake-beard11-Jan-18 23:02 
AnswerRe: Programming Question of the Week? Pin
lopatir11-Jan-18 23:04
memberlopatir11-Jan-18 23:04 
AnswerRe: Programming Question of the Week? Pin
KarstenK11-Jan-18 23:12
mveKarstenK11-Jan-18 23:12 
GeneralRe: Programming Question of the Week? Pin
Vincent Maverick Durano11-Jan-18 23:27
mveVincent Maverick Durano11-Jan-18 23:27 
GeneralRe: Programming Question of the Week? Pin
Slacker00711-Jan-18 23:50
professionalSlacker00711-Jan-18 23:50 
GeneralRe: Programming Question of the Week? Pin
KarstenK12-Jan-18 4:31
mveKarstenK12-Jan-18 4:31 
AnswerRe: Programming Question of the Week? Pin
digimanus12-Jan-18 0:36
memberdigimanus12-Jan-18 0:36 
AnswerRe: Programming Question of the Week? Pin
"mega"-in-a-fake-beard12-Jan-18 1:05
professional"mega"-in-a-fake-beard12-Jan-18 1:05 
GeneralRe: Programming Question of the Week? Pin
digimanus12-Jan-18 1:47
memberdigimanus12-Jan-18 1:47 
GeneralCCC Pin
Pompey 311-Jan-18 22:00
memberPompey 311-Jan-18 22:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.