pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47531: --no-cpp-precomp is obsolete

>Number:         47531
>Category:       pkg
>Synopsis:       --no-cpp-precomp is obsolete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 15:00:01 +0000 2013
>Originator:     Jason Bacon
>Release:        Darwin
Acadix Consulting, LLC
Darwin pro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 
2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
mk/platform/ makes the assumption that all Darwin users are running 
the Xcode compiler, which accepts the --no-cpp-precomp.

Non-Apple compilers terminate with an error if --no-cpp-precomp is used.  In 
order to use a different base compiler with pkgsrc, this must be removed from

The --no-cpp-precomp flag was obsoleted by gcc 4.0, but is accepted and ignored 
for backward compatibility by Xcode compilers.  It has not had meaning to the 
compiler since OS X Jaguar and should probably be removed from the default 
pkgsrc configuration.

Bootstrap pkgsrc with a non-Xcode compiler and try to build a package.

Remove --no-cpp-precomp from

Home | Main Index | Thread Index | Old Index