plunky
b3fbf28e26
Install PCC cpp as libexec/pcpp to avoid name conflicts with other
...
compilers (eg GCC), and to match the manpage which is already installed
as pcpp.1
(Gregory McGarry: "I think it's a good idea")
2010-03-07 16:27:17 +00:00
plunky
f61fe2b584
break overly long line
2010-03-07 12:05:09 +00:00
plunky
5f25705455
actually include the top-level Makefile.inc
2010-02-11 14:36:32 +00:00
plunky
64f418c059
keep generated config.h file in a subdir
...
(avoids potential inclusion errors)
2010-02-11 14:22:30 +00:00
plunky
402aefd4ec
provide endian information at build time rather than embedding it
...
in the config.h file.
2010-02-11 14:18:45 +00:00
plunky
742b10af18
amd64 provides MACHINE_ARCH=x86_64 but pcc wants TARGMACH=amd64. handle that
2010-02-05 18:41:25 +00:00
plunky
8e1bb8f737
when making VERSSTR, provide the target os/machine rather than the host.
...
have the CVS checkout date in the PACKAGE_STRING rather than in a separate
definition
2010-02-05 17:18:31 +00:00
plunky
9422719fb6
be more adaptable when choosing the target arch, try to relate
...
the MACHINE_ARCH to the supported architectures before failing.
2010-02-05 08:58:47 +00:00
plunky
192b470eb8
just use the actual date in PACKAGE_CHECKOUT definition
2010-02-05 08:52:25 +00:00
plunky
accbe58577
don't build and install the crtbegin.o and crtend.o files at this stage,
...
they conflict with the system provided ones (lib/csu) and cause problems.
2010-02-05 08:46:25 +00:00
plunky
e8d2e908f8
use SUBDIR= not SUBDIR+=
2010-02-05 08:42:39 +00:00
plunky
ea7801f79b
don't conditionally include the Makefile.inc, we need the BINDIR etc
...
definitions for installation
2010-02-05 08:41:13 +00:00
plunky
60d1d27f5d
only go to WARNS=2 on these by default
2010-02-05 08:37:48 +00:00
plunky
b3081dfecd
fix the embedded VERSSTR by providing the correct machine architecture
...
at build time, and adding an import date to the version.
2010-02-03 22:13:13 +00:00
plunky
69337406ec
following the documentation in mk.conf(5) and share/mk/bsd.README,
...
and prior art with the MKGCC and MKGCCCMDS build options, only build
and install the pcc commands (pcc, cpp & ccom) when MKPCCCMDS != no
2010-02-03 22:07:50 +00:00
plunky
bd99595db9
Install the CPP manpage as pcpp(1) to avoid conflicts with the GCC version
2010-02-03 22:03:56 +00:00
plunky
567387c17c
execute lists of commands in sub-shells so that the cwd doesn't get
...
not changed between commands
(nbmake will execute all commands in the same context when given -j)
this allows HAVE_PCC=yes tools build to install the pcc files
2010-01-22 11:08:40 +00:00
plunky
7d4f77f20f
Clean up the build framework for pcc
...
- use <bsd.init.mk> to include <../Makefile.inc> files
- add Makefile.inc files that pull in appropriate build settings
- fix the LIBEXECDIR definition (should have trailing /)
- make cc.1 install as pcc.1 to match the binary
- use YHEADER= to build the yacc headers
- general consistency tidy up
2010-01-20 11:45:54 +00:00
joerg
f382d79a9f
Fix markup.
2010-01-08 16:32:47 +00:00
joerg
1e94bcdda0
Fix the markup.
2010-01-08 16:32:23 +00:00
joerg
6738b10249
Use \(-> for the arrows and put them on a separate line because they are
...
not special symbols that .Xr handles.
2010-01-08 16:31:51 +00:00
gmcgarry
1feba56e87
Update build system and merge changes for pcc 0.9.9 090902.
2009-09-04 00:50:04 +00:00
gmcgarry
c4627bc7b5
Import pcc 0.9.9 090902
2009-09-04 00:27:29 +00:00
christos
fc978808f9
fix more A0
2008-09-12 14:40:46 +00:00
gmcgarry
1db91f4266
Fix path to correct source directory.
2008-08-27 13:15:53 +00:00
gmcgarry
29ed8d5a56
Kludge the endianness detection here.
2008-08-27 12:22:37 +00:00
gmcgarry
a9f4a6fd99
Pull in change from master repo:
...
Log Message:
Don't recalculate offsets of packed unions, since they all have the same
offset. Spotted by Reinoud Zandijk.
2008-08-27 12:20:38 +00:00
gmcgarry
50f2c2b359
Add pcc build framework.
2008-08-24 05:47:05 +00:00
gmcgarry
775b51a7ac
Import pcc-libs 0.9.9 080824
2008-08-24 05:34:44 +00:00
gmcgarry
6e0bca2262
Import pcc 0.9.9 080824
2008-08-24 05:32:48 +00:00