Commit graph

1950 commits

Author SHA1 Message Date
kristerw
3088d0a587 Get the correct distfile for ${MACHINE_ARCH} == "arm". 2003-08-02 19:26:29 +00:00
grant
6e9dcac496 no longer needed. 2003-08-02 03:59:28 +00:00
jschauma
39ec26fabb This works on Linux, too. At least under i386. 2003-08-01 15:55:29 +00:00
jmmv
9e7247e000 Use !commands(do-configure) instead of !target(do-configure). 2003-07-30 15:12:28 +00:00
martin
28f94e7242 Sync with ../gcc3 (cpp defaults to -gcc). 2003-07-29 09:05:54 +00:00
martin
5d8126aadb Sync with ../gcc3 pkg (cpp defaults to -gcc). 2003-07-29 09:02:49 +00:00
jmmv
f24ae18ebe Add PKG_GCC3_JAVA to BUILD_DEFS. 2003-07-28 21:49:15 +00:00
martin
361afca03b Bring in a patch from the base system gcc3 and adapt example gcc3.mk file
accordingly.

  From: matthew green <mrg@netbsd.org>
  To: source-changes@NetBSD.org
  Subject: CVS commit: src/gnu/dist/gcc/gcc
  Message-Id: <20030725175744.B6FC4B004@cvs.netbsd.org>

  Module Name:    src
  Committed By:   mrg
  Date:           Fri Jul 25 17:57:44 UTC 2003

  Modified Files:
          src/gnu/dist/gcc/gcc: cppspec.c
          src/gnu/dist/gcc/gcc/config: netbsd.h

  Log Message:
  make `cpp -gcc' the default on NetBSD.


  To generate a diff of this commit:
  cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc/gcc/cppspec.c
  cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc/gcc/config/netbsd.h
2003-07-26 17:37:04 +00:00
jtb
d6f95d62de Escape the . in the sed substitution. 2003-07-24 21:44:37 +00:00
jtb
2151669bff Update to version 2.0.10.
From the release notes:

This release is unfortunately a bit late and incorporates a whole
bunch of very different changes.  The biggest part is an update of the
libraries to incorporate the string types from module `Object' into
ADT:*, IO:*, OS:*, URI:*, and (partially) XML:* modules.  The internal
encoding of Unicode strings has been switched to UTF-16.  Support for
the MacOS X and Win32 platforms has been improved.

There were several changes to the symbol file format.  Please remove
any old symbol files that are still around.
  __________________________________________________________________________

(Object, ADT:StringBuffer): Internal representation of Unicode strings
is now UTF-16.  `String32' is gone and has been replaced with
`String16'.  MAX(UCS4CHAR) is 10FFFFX, the largest possible Unicode
code point.

(Object:BigInt): Renamed string base constructors to follow the naming
conventions from module `Object'.

(ADT:ArrayList, ADT:Dictionary): Have been converted to parametric
types.  One known side-effect of this is that a type guard
`Dictionary.Dictionary' can no longer be applied to instances of
`Object.Object'.  The reason for this is that the run-time type
information does not include information on type parameters and
therefore cannot test for particular type arguments.  (The necessary
run-time information may be added later.)

(ADT:Storable, ADT:Object:Storage): The parameter type of the methods
ReadObject() and WriteObject() has been changed back to
`Object.Object'.  The methods now handle instances of `Object.String'
as well.

(IO:Address): `UnknownHostException' is now derived from `IO.Error'.

(IO:Buffer): Introduce method `ReadLineLF()', to read a single line of
8-bit characters from a channel, including the termination Ascii.lf
character.

(IO:FileChannel): File name arguments are now of type STRING.  They
are converted to sequences of bytes using OS:Path.Encode().  Dito for
system() from OS:ProcessManagement.

(IO:Socket, IO:SocketChannel): Non-blocking connect is implemented.

(OS:Path): Changed functions to work on STRINGs.  Changed function
names to follow the Oberon naming conventions.  Dito for GetCwd() from
OS:ProcessParameters.

(Exception): Fixed a bug in PopContext(), which lead to stack
corruption if more than one TRY context is popped from the stack.
Also some minor cleanups.

(HashCode): Collects all hash functions for the various basic data
types.

(URI, URI:*): The URI modules use the string types from `Object',
instead of defining their own variant of this theme.  Error signalling
has been converted to Exception.ParseError.  Please note that the
interface of these modules may be in for further changes later.  The
URI changes also propgate into the XML modules.


(oo2c): New command --package-installed (tests if a package is
present) and --list-packages (list all installed packages).

(oo2c): The "Pascal" calling convention, and the CSTRING and ALIGNX
flags have been ported to v2 by Stewart Greenhill.  This is primarily
used for native Windows DLLs.

(oo2c): There is now support for MaxOS X style "framework" libraries
(contributed by Tim Teulings).

(oo2c): The documentation strings of a module have been removed from
the symbol file `M.Sym', and are now stored in a separate file `M.Doc'
(in the same directory as `M.Sym').  Compilation commands only read
the `M.Sym' part.  Also, compilation of huge interface modules is now
much faster.

(oo2c): Constant folding on floating point expressions is now enabled.

(oo2c): Various minor bugs with parametric types have been fixed.
around.
2003-07-24 18:39:14 +00:00
jtb
43ab607e8a Fix logic in determining if pthreads is required. 2003-07-24 16:01:41 +00:00
grant
3b9a5f5e2a fix GCC_VERSION so GCC_ARCHDIR is correctly set.
re-arrange gcc/Makefile a bit to more closely resemble gcc3/Makefile.
2003-07-23 22:30:12 +00:00
seb
d8b6aaa7af Convert to USE_NEW_TEXINFO via easy route (by using buildlink2). 2003-07-23 17:17:57 +00:00
drochner
96ff2fdc76 sync with PKGREVISION bump of gcc3-c++-3.3
should fix PR pkg/22188 by Todd Vierling
2003-07-23 09:50:51 +00:00
drochner
e028ffbd00 sync with PKGREVISION bump of gcc3-c-3.3 2003-07-23 09:48:44 +00:00
jmmv
3cd568e4b7 Let a package override the contents of the do-configure target, if needed.
Closes PR pkg/21111 by Todd Vierling.
2003-07-22 23:44:46 +00:00
jmc
52cdf06625 Regen after gcc patch updates 2003-07-22 23:15:32 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
seb
1baca3f9d8 Make this package similar to lang/gcc{,3}.
User visible changes:
- Install in ${GCC_PREFIX} for all platforms.
- Install example mk.conf in ${PREFIX}/share/examples/${PKGNAME_NOREV}/mk.conf.

Rewrite the Makefile to adopt a look and feel similar to those of
lang/gcc{,3}: convert to USE_NEW_TEXINFO, USE_PKG_INSTALL for FILE_SUBST,
mostly dynamic PLIST, platform independent MESSAGE, ...

Bump PKGREVISION.
2003-07-21 12:48:43 +00:00
wiz
d219323e4b Undo last for now, until I find out what went wrong here. 2003-07-18 13:01:52 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
abs
5e4225a2a7 Update:
gcc3 to 3.3nb5
        gcc3-c to 3.3nb1
        gcc3-c++ to 3.3nb1
In gcc3.mk set CPP to '.../cpp -gcc' rather than '.../cpp'
Ensure __GNUC__ and similar are defined.
2003-07-17 09:07:54 +00:00
drochner
9ccfc92afb elaborate the INSTALLTO_SUBPREFIX thing a bit more: modify the
PKGNAME if we are installing to an alternative location so that the
pkg system doesn't complain about conflicts.
Now it is possible to install a gcc3 tree to some location where
it can be used to bootstrap another instance of itself...
2003-07-16 20:23:58 +00:00
drochner
7a5e718eaf Don't build gnatpsta. It does some questionable things which don't
work on mips and powerpc at least.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9091.
The fix therein (which was applied to the 3.3 branch does not really fix
the underlying problem, and is for powerpc only.
While I'm not an ada expert and this pkg wasn't used for more than
bootstrapping itself, I'd consider gnatpsta dispensable.
2003-07-16 18:19:35 +00:00
wiz
5e61a3be08 Fix path of two man pages from man/man1/* to share/man/man1/* so that
the PLIST is correct.
XXX: these, and the other man pages perl installs, should of course
go into man/man* instead...
2003-07-14 15:41:14 +00:00
dillo
24668f590e upgrade to 2.30
does no longer include (copies of) libintl and libiconv
numerous enhancements and bug fixes, see included NEWS file
2003-07-13 14:34:48 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
grant
0c414e029b oops, we still want the mk files for non-pkgsrc purposes. unbump
PKGREVISIONs.
2003-07-13 13:16:03 +00:00
grant
7528b4d437 greatly simplify the handling of pkgsrc gcc, and eliminate a bug which
has allowed these packages to work :)

set CC, CXX, CPP and F77 in gcc{,3}/buildlink2.mk.

you now only need to define USE_GCC2 or USE_GCC3 to use the pkgsrc
gcc of your choice.

the share/examples/gcc/mk.conf and gcc3/mk.conf files are no longer
installed.

bump PKGREVISIONs.
2003-07-13 13:04:09 +00:00
jtb
04d18619ce Add the patches this time. 2003-07-12 11:39:52 +00:00
jtb
48a69c796b Add the "if-exists" specs function. Enables the addition of
crti.o and crtn.o to the executable if needed.
Bump PKGVERSION.
2003-07-12 11:38:31 +00:00
jtb
3f9c40bb8e Add some patches against basesrc gcc implementing the "if-exists"
function in the specs file.  Enables the linker to pick
up crti.o and crtn.o if they exist.
2003-07-12 08:53:40 +00:00
jtb
dcd0c0a985 Regen. 2003-07-11 08:24:41 +00:00
jtb
c9c4feb129 * Use LIBTOOL_OVERRIDE
* Remove a useless chunk from patch-ac

Pointed out by wiz.
2003-07-11 08:15:09 +00:00
jtb
f0caf3dcde Remove unnecessary register store in the profiling prologue. 2003-07-11 07:47:44 +00:00
jtb
55135ef3b7 Following a discussion between wiz and nathanw:
Enable cilk to work with pthread libraries without the
PTHREAD_SCOPE_SYSTEM attribute.  This allows it to work with the native
pthreads.
2003-07-11 07:28:12 +00:00
jtb
c39ecf6ebc * Enable use of the posix thread context switch for architectures
for which no assembly context switch code is available.
* Use buildlink2.
2003-07-10 13:46:04 +00:00
jtb
ad0f76be30 * Needs some things not yet in the base system pthread library.
Depend on devel/pth for now.
* Currently only supported on alpha, i386, mips*, powerpc, sparc
* Add a test target.
2003-07-10 13:16:20 +00:00
jtb
148937e759 Missed change of .mcount to __mcount in PROFILE_C. 2003-07-10 12:28:55 +00:00
wiz
ccd2555155 Add gcc3-* packages. 2003-07-10 11:49:48 +00:00
jtb
ce3fe082f3 * Add support for the profiler on powerpc
* Fix i386 profiling. NetBSD calls __mcount while FreeBSD calls .mcount
2003-07-10 07:44:01 +00:00
drochner
f1bd37d7e6 The file affected by the bugfix (unroll.c) is potentially used by all
language backends.
2003-07-09 15:23:53 +00:00
drochner
95bd11b46e -as abs did to lang/gcc3:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955
	* unroll.c (unroll_loop): Fix off-by-one bug.
    Fixes build issue with xdm and -O3
    Suggested by fredb
-${prefix} is the same like ${GCC_PREFIX}, but the former is already there
2003-07-09 15:14:42 +00:00
drochner
b918cab416 There is no point in buildlinking gcc's private include files: They
are not for the host compiler, but for the stage-1 "xgcc", which is
not subject to buildlink's redirection.
(The gcc libs are needed because ld is redirected.)
2003-07-09 15:11:21 +00:00
agc
6eacd3982c Some packages check for tclsh and wish rather than using other means of
testing for the presence or absence of tcl or tk, so add these to the
files managed by buildlink2.
2003-07-09 14:04:06 +00:00
grant
b896065cca add a buildlink for gawk. this is derived from and shares the same
purpose as gsed/buildlink2.mk.

XXX IRIX is currently listed in _INCOMPAT_AWK - this should be removed
if awk on IRIX is known to be good.
2003-07-09 08:17:42 +00:00
seb
a27e925c08 No need to include texinfo.mk, bsd.pkg.mk does it. 2003-07-08 16:39:51 +00:00
abs
778857b37b Update gcc3 to gcc3-3.3nb4:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955
	* unroll.c (unroll_loop): Fix off-by-one bug.
    Fixes build issue with xdm and -O3
    Suggested by fredb
2003-07-08 16:30:44 +00:00
drochner
26acfcb094 oops, I was assuming the .info files are put into the packlist
automatically. Not true appearently.
2003-07-08 16:07:03 +00:00
drochner
7497ad9c29 some cleanup:
-USE_NEW_TEXINFO, saves some patches
-symlink libiberty.a into build tree instead of buildlink/lib,
 saves some patches
-put common make rules into Makefile.common (for all) and
 buildaddon.mk (for all but the base "c" pkg)
2003-07-08 15:04:53 +00:00