History log of /openbsd-current/usr.bin/cpp/cpp.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 28-Sep-2019 ajacoutot

Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor
X11R6).
Suggested by tb@

ok deraadt@ tb@ millert@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.9 09-Dec-2013 guenther

Use shell arrays to store arguments instead of building a string for eval.
Add option argument handling for all the options that take an argument.
Handle -I with separate path argument.
Retire gcc2-specific bits.
Handle -U__GNUC__ correctly on gcc4 systems.

ok jca@ millert@


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.8 03-May-2010 drahn

Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).
ok kettenis@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.7 10-Feb-2004 espie

Clean-up logic, support -$ on gcc2, nothing on gcc3.
Add -notraditional to help the transition into not -trad land.

ok deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.6 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.5 17-Jun-1999 espie

Sync for 990608 egcs snapshot...
finally, the interface is frozen with /usr/libexec/cpp not defining
__GNUC__


# 1.4 26-May-1999 espie

New egcs cpp driver does always define gnu C.


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.3 18-Feb-1998 niklas

Deal much better with installation problems


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 26-Jun-1996 deraadt

rcsid


# 1.1 02-Jan-1996 deraadt

/usr/bin/cpp wrapper script (which now knows where to find the
correct path to GNU cpp through an incredibly twisted hack)


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.9 09-Dec-2013 guenther

Use shell arrays to store arguments instead of building a string for eval.
Add option argument handling for all the options that take an argument.
Handle -I with separate path argument.
Retire gcc2-specific bits.
Handle -U__GNUC__ correctly on gcc4 systems.

ok jca@ millert@


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.8 03-May-2010 drahn

Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).
ok kettenis@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.7 10-Feb-2004 espie

Clean-up logic, support -$ on gcc2, nothing on gcc3.
Add -notraditional to help the transition into not -trad land.

ok deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.6 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.5 17-Jun-1999 espie

Sync for 990608 egcs snapshot...
finally, the interface is frozen with /usr/libexec/cpp not defining
__GNUC__


# 1.4 26-May-1999 espie

New egcs cpp driver does always define gnu C.


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.3 18-Feb-1998 niklas

Deal much better with installation problems


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 26-Jun-1996 deraadt

rcsid


# 1.1 02-Jan-1996 deraadt

/usr/bin/cpp wrapper script (which now knows where to find the
correct path to GNU cpp through an incredibly twisted hack)