Commit Graph

475 Commits

Author SHA1 Message Date
David E. O'Brien
a443e96e31 Fix the sparc64 build and make the LIB1ASMSRC handling more robust. 2002-05-18 09:46:12 +00:00
Poul-Henning Kamp
d2f7f45a57 Improve chances that we correctly compile LIB1ASMSRC on all architectures.
sparc64 looked for the nonexistent sparc64/lb1spc.asm file instead
of the sparc/lb1spc.asm file.

arm probably looked for arm/arm/lib1funcs.asm instead of arm/lib1funcs.asm
ia64 probably looked for ia64/ia64/lib1funcs.asm instead of ia64/lib1funcs.asm

i386 and alpha don't seen to use the LIB1ASMSRC.
2002-05-18 09:21:42 +00:00
Peter Wemm
aff1ee31b8 Move LIB1ASMFUNCS from the SYMS variable and explicitly add it to OBJS
later.  Otherwise make will try and build the supposedly assembler .o
files from libgcc2.c - which does not work too well (the .o's have no
content)

Reviewed by:	obrien
2002-05-17 08:59:13 +00:00
Peter Wemm
8c258dc6ba Put on peril-sensitive sunglasses and risk touching gcc related build glue
again.  Try and deal with platforms that provide their own crtbegin/end asm
files (ia64 for example).  crtstuff.c does not actually work on ia64 since
libgcc.a doesn't have a few key support functions when built on ia64 so it
is compulsory to use crtbegin.asm and crtend.asm.

Reviewed by:	obrien
2002-05-17 07:55:08 +00:00
David E. O'Brien
03083777d9 Post rev 1.39, the PowerPC specific additions to OBJS was getting lost. 2002-05-17 04:18:33 +00:00
David E. O'Brien
d781910a94 bsd.lib.mk now understands what to do with .asm files.
So we can refer to these files by their real name vs. playing tricks
renaming them during the build.
2002-05-17 03:08:15 +00:00
David E. O'Brien
ba2789556e GCC 3.1 on PowerPC also has the crtsavres C Run Time file. 2002-05-17 03:04:47 +00:00
Ruslan Ermilov
83f56d9ae4 Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.
2002-05-15 16:29:45 +00:00
David E. O'Brien
ee6b45631e Quote {CC} so ccache can be used. 2002-05-14 01:00:25 +00:00
Ruslan Ermilov
2020063860 Fixed CLEANFILES after bsd.lib.mk sweep. 2002-05-13 15:28:00 +00:00
Ruslan Ermilov
2a53f3fb35 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
Ruslan Ermilov
c75fbf36b1 NOLIB is gone; put INTERNALLIB back for now. 2002-05-12 16:35:34 +00:00
Ruslan Ermilov
c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
David E. O'Brien
357228d788 Properly build lb1spc.asm on Sparc64. 2002-05-12 14:05:58 +00:00
David E. O'Brien
d43e78d0c7 There is no more NOLIB. 2002-05-12 13:49:14 +00:00
David E. O'Brien
be60db5891 I was not strict enough with my ordering of things to satisfy make(1) nieve
symbol evaluation which causes it to be very sensitive to macro ordering.
2002-05-12 12:44:04 +00:00
David E. O'Brien
e20b0b7333 [Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
2002-05-10 09:32:39 +00:00
David E. O'Brien
3cdd876f04 Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien
94083430d8 Need to build libgcc.so with -nostdlib -- otherwise we try linking with
ourself.
2002-05-10 08:52:41 +00:00
David E. O'Brien
2fe1eb28ab All platforms should be on equal footing now -- no special handling for
Sparc64 and IA-64.
2002-05-10 00:49:55 +00:00
David E. O'Brien
dbda0c7715 Mostly filled in contents for GCC 3.1.
Bribed by:	peter
2002-05-07 01:16:04 +00:00
David E. O'Brien
ca15bbbfe3 Fill in the missing.
Bribed by:	peter
2002-05-07 01:13:32 +00:00
cvs2svn
a7b4ff14b9 This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'. 2002-05-07 01:03:52 +00:00
David E. O'Brien
6ce0897d11 libstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'. 2002-05-07 01:03:51 +00:00
David E. O'Brien
68866c8c5b Mostly filled in contents for GCC 3.1.
Bribed by:	peter
2002-05-07 01:01:38 +00:00
David E. O'Brien
ae889c62a2 Dependencies on tconfig.h work better if we set GCCDIR when shelling
to other Makefiles.
2002-05-07 00:58:49 +00:00
David E. O'Brien
4466867fd8 Update for GCC 3.1.
Tested on:	alpha, sparc64, i386
2002-05-07 00:55:51 +00:00
David E. O'Brien
df411a300f Fix to work on sparc64 (which has an extra crt .o file). 2002-05-07 00:08:30 +00:00
cvs2svn
bc2fcd34bc This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'. 2002-05-06 22:07:27 +00:00
David E. O'Brien
91004f18ea GCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
code, `new' handler, exception handling, etc.) split out into libsupc++.
2002-05-06 22:07:26 +00:00
David E. O'Brien
0537668b9b It is easier for me to debug with -I's at the rear. 2002-04-20 01:27:28 +00:00
Ruslan Ermilov
357bbe4abe -ltermcap is spelled -lncurses nowadays. 2002-04-09 13:04:31 +00:00
Peter Wemm
9d04791265 Unbreak world (missing .else)
Submitted by:   fenner
Pointy hat to:  obrien
2002-04-08 22:56:28 +00:00
David E. O'Brien
28def05c25 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00
David E. O'Brien
af968949b1 Bmake bits for GCC 3.1.
Sponsored by:	bribe from peter
2002-04-07 09:30:05 +00:00
David E. O'Brien
5d8d0d50ca Deal with new TarGeT-specific CRT files.
(sparc64 introduced the first)
2002-04-06 19:13:25 +00:00
David E. O'Brien
0b3c5f4098 MFC: reorg. 2002-04-05 09:20:49 +00:00
David E. O'Brien
cdc9f8b9cd Style reorg. Also spell -fpic as determined by bsd.lib.mk. 2002-04-05 09:12:25 +00:00
David E. O'Brien
4d484dd742 Update for GCC 3.1.
(Alpha now uses crtstuff rather than the ASM verisons!)
2002-04-05 09:02:52 +00:00
David E. O'Brien
9bd6dcbf97 MFC: rev 1.4 (style reorg) 2002-04-05 08:54:28 +00:00
David E. O'Brien
e3e51a021c Style reorg. 2002-04-05 08:53:35 +00:00
John Baldwin
6662e3f437 Back out the previous revision for now. Instead, the current sparc64
Makefile changes are in the sparc64 p4 tree.
2002-01-07 19:27:50 +00:00
John Baldwin
7855d28a28 Don't build csu or libgcc on sparc64 for the time being. 2002-01-03 19:57:35 +00:00
David E. O'Brien
3a7789cfeb Working changes for GCC 3.0.2. 2001-12-18 03:11:35 +00:00
David E. O'Brien
0d4ffb0f07 Working changes for GCC 3.0.2.
We now fake out the native libgcc.mk + GNU autoconf'ed Makefile.
This gives us the flexability we will need to support our new arches
(StrongARM, Sparc64, PowerPC, and IA-64).  If this new way proves to
be too much a hassle, I still have a close-to-being-finished version
that is more like the 2.95 version of this file.
2001-12-18 03:05:22 +00:00
Ruslan Ermilov
973698b38b Fixed memory leak in dialog_gauge(3).
PR:		gnu/32260
Submitted by:	Igor Pokrovsky <tiamat@telegraph.spb.ru>
MFC after:	3 days
2001-11-29 07:42:13 +00:00
David E. O'Brien
aab8cd4cfe -v must have a space between it and the variable.
Submitted by:	David Wolfskill <david@catwhisker.org>
                (did I mention he should be a committer? :-) )
2001-11-01 07:11:10 +00:00
Ruslan Ermilov
eea399e3ac Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
Bruce Evans
d703551558 Fixed missing return type in synopsis. 2001-10-03 04:01:51 +00:00
Ruslan Ermilov
32eef9aeb1 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00