Click here to Skip to main content
15,903,388 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
David 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
Scott Serl12-Jan-18 6:30 
GeneralRe: what do you think about ad blocking? Pin
dandy7212-Jan-18 6:58
dandy7212-Jan-18 6:58 
GeneralRe: what do you think about ad blocking? Pin
kmoorevs12-Jan-18 8:26
kmoorevs12-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
mvaMarc Clifton13-Jan-18 2:08 
GeneralDual-mode for clang-cl.bat file Pin
Gisle Vanem11-Jan-18 23:57
Gisle 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
mveOriginalGriff12-Jan-18 0:07 
GeneralRe: Dual-mode for clang-cl.bat file Pin
glennPattonWork312-Jan-18 0:10
professionalglennPattonWork312-Jan-18 0:10 
GeneralRe: Dual-mode for clang-cl.bat file Pin
OriginalGriff12-Jan-18 0:23
mveOriginalGriff12-Jan-18 0:23 
GeneralRe: Dual-mode for clang-cl.bat file Pin
OriginalGriff12-Jan-18 2:05
mveOriginalGriff12-Jan-18 2:05 
GeneralRe: Dual-mode for clang-cl.bat file Pin
Richard MacCutchan12-Jan-18 3:17
mveRichard MacCutchan12-Jan-18 3:17 
GeneralRe: Dual-mode for clang-cl.bat file Pin
Gisle Vanem12-Jan-18 4:55
Gisle 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
megaadam11-Jan-18 23:02
professionalmegaadam11-Jan-18 23:02 
AnswerRe: Programming Question of the Week? Pin
lopatir11-Jan-18 23:04
lopatir11-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
professionalVincent 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
Herman<T>.Instance12-Jan-18 0:36
Herman<T>.Instance12-Jan-18 0:36 
AnswerRe: Programming Question of the Week? Pin
megaadam12-Jan-18 1:05
professionalmegaadam12-Jan-18 1:05 
GeneralRe: Programming Question of the Week? Pin
Herman<T>.Instance12-Jan-18 1:47
Herman<T>.Instance12-Jan-18 1:47 
GeneralCCC Pin
The pompey11-Jan-18 22:00
The pompey11-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.