Commit Graph

1315 Commits

Author SHA1 Message Date
uwe
1e2e037e02 Flip HAVE_GCC3 switch for sh3 ports. 2004-02-22 01:41:39 +00:00
skrll
b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
lukem
803c713ae9 Change STRIPFLAG from "-s" to ""; we now don't strip binaries with install(1).
The benefits of having the symbol table available by default (easier
debugging of core dumps, etc) outweigh the minor (3%) increase in
the size of the distribution, and end-users can always strip(1) their
systems if they're concerned about that 3% of disk space.
2004-02-13 05:13:37 +00:00
rtr
5310db3656 oops, FOOBAR= foo shouldn't be in here 2004-02-11 11:28:17 +00:00
lukem
68edea2915 Revert previous; install -l r doesn't appear to work correctly when
DESTDIR is a symlink.
(Yet another reason why "-l r" looks good on paper but sucks in practice).
2004-02-09 06:35:18 +00:00
jwise
e0a5c89252 Document LPREFIX variable, as adding -P${DESIRED_PREFIX} to LFLAGS does not
do the expected.
2004-02-06 22:13:58 +00:00
lukem
eee88ffea0 Convert the /usr/lib/libfoo.so -> /lib/libfoo.so.M.N link into a relative link.
This simplifies using ld with ${DESTDIR}/usr/lib whilst retaining the
(slightly faster) absolute links for the run-time libraries.
Per discussion on tech-toolchain.

(Side note;  install(1) -l r  needs the source to be prefixed with ${DESTDIR}
to operate correctly, which makes it non trivial to enable '-l r' by default
for all ${INSTALL_SYMLINK}s)
2004-02-06 12:34:11 +00:00
rtr
a7e3a7b9ff PRINTX11VERSION contains command for automated extraction of
major,minor,patch,snap passed to some sourc during build.
2004-02-06 11:52:48 +00:00
lukem
20f6090de0 Add '-h sha1' to INSTPRIV.unpriv, so that SHA-1 hashes for installed files
are calculated and written to the METALOG.
2004-01-30 08:48:18 +00:00
lukem
7f363470cf oops in previous; can't call cleanhtml in cleandir at this time 2004-01-29 05:25:51 +00:00
lukem
84a4748659 Cosmetically tweak how .PHONY is used by (generally) providing it as a source,
instead of using it as a target with all the rules as its sources.
2004-01-29 01:48:45 +00:00
lukem
cb61dc463d fix thinko in previous 2004-01-29 00:21:31 +00:00
lukem
cf3f737042 add some missing .PHONYs 2004-01-29 00:02:04 +00:00
lukem
af85ccad70 Replace
:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)
2004-01-27 03:31:48 +00:00
lukem
460eec09d4 There's no need to use :N-c with ${INSTALL_FILE}. 2004-01-27 02:52:19 +00:00
rtr
e152935468 We always build glx ext, so for 64-bit archs we define -D__GLX_ALIGN64 2004-01-25 02:15:51 +00:00
simonb
842124b391 crt0.o lives in /usr/lib even on a.out. 2004-01-23 05:09:58 +00:00
jmmv
b792bb087e Fix typo: XFree86XDGA -> XFreeXDGA. This adds support for DGA (as intended). 2004-01-20 16:40:11 +00:00
rtr
a28d5cecb2 + escape new lines
+ remove extra ||
2004-01-18 08:24:16 +00:00
matt
ddd7e4a306 Change _XSERVER64 to depend on MACHINE_ARCH, not MACHINE.
Disable XF86VIDMODE for vax.
Format MACHINE .if's nicer (and alphabetize).
2004-01-18 06:38:16 +00:00
rtr
ad1c114818 Don't build XDGA, VIDMODE and XINPUT extensions for alpha, pmax, acorn32.
XXX There should probably be more archs/machines that do not build these.
2004-01-18 05:43:16 +00:00
matt
a14c93f141 Export the symbols in addition to the relocation records when making LKMs. 2004-01-16 00:36:39 +00:00
rtr
9007e5a454 + no vid mode ext or dga for amiga
+ amd64 & alpha need X11FLAGS.SERVER+=	_XSERVER64
+ pass loadable defines for amd64 & cats
2004-01-13 03:26:09 +00:00
rtr
90b9a61928 control undefine of DDXTIME through Xserver/Makefile.common vars 2004-01-10 16:44:57 +00:00
fredb
62eaaceeea Don't define DDXTIME on mac68k. This will let us use GetTimeInMillis()
of ".../Xserver/os/utils.c", instead of supplying our own home-rolled
(yet identical) function.
2004-01-10 03:28:19 +00:00
skrll
6d86e95627 Correct a comment 2004-01-07 15:27:08 +00:00
lukem
e0d82d7dce Add MKX11 to control if src/x11 is traversed during the build. (default: no)
Document <bsd.x11.mk>.
2004-01-07 12:06:34 +00:00
lukem
736517ca81 document MKCVS MKGCCCMDS MKPOSTFIX MKSENDMAIL MKUUCP 2004-01-03 01:06:55 +00:00
lukem
6d242d8a5e sort list 2004-01-03 01:05:42 +00:00
lukem
02e913d52d Consistently test all variables that support a "yes"/"no" value with
${VAR} == "no"
or
	${VAR} != "no"
(instead of against "yes").  Variables affected:
	TOOLCHAIN_MISSING
	HAVE_GCC3
	USE_TOOLS_TOOLCHAIN
	NEED_OWN_INSTALL_TARGET
	USE_SHLIBDIR

Improve the documentation.
2004-01-02 16:12:36 +00:00
rtr
775af37840 back out hpcmips changes accidently committed in prev. noticed by lukem@ 2004-01-01 12:36:14 +00:00
rtr
27a87afc78 grr typo .manN -> .man.N 2004-01-01 09:30:31 +00:00
rtr
6e780472a5 section 4 and 5 man/cat pages do get installed 2004-01-01 07:02:27 +00:00
lukem
2eba2bbab6 correct __vendorversion__ to match xsrc/xfree 2004-01-01 01:19:36 +00:00
christos
e57d25d652 no-traditional is not a valid warning for c++ programs. 2003-12-26 17:27:01 +00:00
christos
80f77a3c2c Add libstdc++ 2003-12-26 17:22:43 +00:00
rtr
24acc15bee remove endian selection hack - from lukem 2003-12-26 08:24:33 +00:00
rtr
1967c90241 endian table for X_BYTE_ORDER= 2003-12-23 15:36:45 +00:00
rtr
6c80347d07 sparc64 defines 2003-12-23 11:12:35 +00:00
rtr
57bab08096 Need to provide alternate definitions of __archive{build,install} for x11.
approved by lukem
2003-12-23 10:30:02 +00:00
rtr
8c82867db3 Remove duplicate -DPIXPRIV from X11FLAGS.SERVER
Don't define -DXINPUT -DXFree86XDGA -DXF86VIDMODE -DDXTIME for sparc
Add X11FLAGS.LOADABLE for for module control/module flags.
2003-12-20 14:24:29 +00:00
matt
abd06d37ef Add TOOL_MACPPCFIXCOFF 2003-12-11 00:28:08 +00:00
rtr
fa397391ec No such thing as NONBINOWN, use NONBINMODE instead. 2003-12-08 10:10:46 +00:00
simonb
83f816d555 Disable native gdb for ns32k (but cross-gdb works). 2003-12-07 23:07:37 +00:00
scw
a26234a268 And the monkey flicks the switch ...
Enable the in-tree toolchain on sh5, at least for the time being so I
can evaluate the situation.

There are still numerous problems with gcc3's sh5 support, not least
of which is the fact that a native gcc3 doesn't work at all. As a
cross-compiler, it works reasonably well. Certainly enough to build
userland and kernel code.

Binutils also has problems dealing with shared libraries on sh5, so
we're back to static userland for now.
2003-12-07 22:52:56 +00:00
matt
36d03f8064 Fix fumble-fingers && && -> && 2003-12-07 22:33:16 +00:00
matt
aa713b97fe Turn on NOPIC= if using GCC3 for VAX. 2003-12-07 22:23:00 +00:00
simonb
0921f67df2 No shared libraries on ns32k at the moment - set *PICFLAGS to nothing. 2003-12-07 12:56:45 +00:00
simonb
b18e40ea85 Use -O2 for ns32k now. 2003-12-07 12:53:58 +00:00
simonb
9ec0c6aa88 ns32k doesn't have a missing toolchain anymore, does support
gcc3 and always uses static libraries (for now...)
2003-12-05 12:14:42 +00:00