Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2017 17:07:47 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org, freebsd-toolchain@freebsd.org
Subject:   cpp behavior?
Message-ID:  <20170520000747.GA26861@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
% which cpp
/usr/bin/cpp
troutmask:kargl[408] cpp --version
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
troutmask:kargl[409] cpp --help |grep trad
  -traditional-cpp        Enable some traditional CPP emulation
troutmask:kargl[410] cpp -traditional-cpp boxmuller.F90 
cpp: error: unable to execute command: Executable "gcc" doesn't exist!

OK, so what is the preprocessor for clang?

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170520000747.GA26861>