summaryrefslogtreecommitdiff
path: root/lang/gcc3
AgeCommit message (Collapse)AuthorFilesLines
2004-01-13add a workaround for Solaris finding libintl.h in ${LOCALBASE}/include.grant1-1/+6
if configure finds this file, it expects to be able to use it, and linking fails because /usr/lib/libintl.so isn't GNU libintl. allows this to be built on Solaris while gettext-lib is installed.
2003-10-11Use S modifier instead of C; should fix first part of PR 23126.wiz1-2/+2
2003-09-12tidy up handling of LDFLAGS wrt USE_GCC_SHLIB a little.grant1-7/+1
2003-09-12Avoid error messages on systems where the "gcc3" package is not yettron1-3/+7
installed.
2003-09-12start of improved compiler handling, mostly derived from the existinggrant1-13/+3
gcc buildlink2.mk files and splitting the non-buildlink2.mk bits out into compiler.mk. this allows USE_GCC2 and USE_GCC3 to work with non-buildlink2 packages again.
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-08-08include major version number in COMMENT for distinction, some minorgrant1-2/+2
COMMENT tweaks.
2003-07-28Add PKG_GCC3_JAVA to BUILD_DEFS.jmmv1-1/+3
2003-07-26Bring in a patch from the base system gcc3 and adapt example gcc3.mk filemartin4-3/+36
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-23fix GCC_VERSION so GCC_ARCHDIR is correctly set.grant1-3/+2
re-arrange gcc/Makefile a bit to more closely resemble gcc3/Makefile.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-17Update:abs2-4/+4
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-13oops, we still want the mk files for non-pkgsrc purposes. unbumpgrant3-4/+18
PKGREVISIONs.
2003-07-13greatly simplify the handling of pkgsrc gcc, and eliminate a bug whichgrant4-47/+11
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-08Update gcc3 to gcc3-3.3nb4:abs3-3/+20
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-06Specifying --infodir=... to configure is not needed anymore.seb1-2/+1
2003-07-06set GCC_VERSION for use in GCC_ARCHDIR. remove a superfluous commentgrant1-2/+3
about GCC_PREFIX. XXX why is GCC_PREFIX ${PREFIX}/gcc3 ?
2003-07-06s/${PKGVERSION}/3.3/ - we don't have a variable for PKGVERSIONgrant1-2/+2
without PKGREVISION.
2003-07-04Convert to USE_NEW_TEXINFO.seb8-117/+10
Remove or trim "info related" patch files. Install info files in package specific directory. Hence the PLIST files are now nearly empty... This should finish making these two packages really non-conflicting. Bump PKGREVISION.
2003-07-04Install example mk.conf in package specific directory.seb4-14/+15
Adjust and make uniform various substitution variables and MESSAGE files. No PKGREVISION bump right now.
2003-07-03oops, missed the .info filesdrochner1-2/+3
2003-07-03sort stuff so that bsd.prefs.mk is pulled in before any decisions aredrochner1-5/+5
drawn from user variables comma-separate the list of supported languages; while spaces work, the libstdc++ configure script misbehaves if c++ is not the last one...
2003-07-03provide a knob to turn on java supportdrochner2-2/+17
2003-07-03It seems that splitting gcc3 is more work than I expected.drochner3-5/+11
Until this is done, put everything back but java.
2003-07-03Building Java support takes too long.drochner3-14/+5
Cripple the pkg to support c/c++ only. If needed, f/java could be put into addon pkgs.
2003-07-03Don't stomp prefix settings by overwriting CONFIGURE_ARGS (+= instead of =).rafal1-2/+2
2003-07-02make sure libgcc is compiled -fPICdrochner2-1/+11
2003-07-02The "libgcc_eh not found" was just buildlink lossage, notdrochner1-3/+6
gcc3's fault. Worse, programs got built against the wrong (main tree) libgcc. Now that this is fixed, set a netbsdelf2.0 target on -current, to get both thread support and crt*.o files. Also, use the usual buildlink magic to avoid picking up a GNU pth from /usr/pkg. pkgsrc/mail/imap-uw builds with a gcc3 set up this way.
2003-07-02Use some magic similar to share/mk/bsd.gcc.mk to setdrochner1-2/+5
_GCC_ARCHSUBDIR, which happens to be the location of libgcc. This makes the buildlink stuff work independantly of the exact GNU_PLATFORM gcc3 was compiled for.
2003-06-30Update gcc3 to gcc3-3.3nb2abs1-3/+9
If NetBSD and /usr/include/pthread.h is present, add --enable-threads to configure arguments. Could set --host=i386--netbsdelf2.0 instead, but that causes many other packages (eg: mail/imap-uw) to fail to link with '/usr/bin/ld: cannot find -lgcc_eh' even when they .if defined(USE_GCC3) . include "../../lang/gcc3/buildlink2.mk" .endif With this change a 1.6U/i386 machine can build mozilla with gcc3.
2003-06-24If included, set F77 and PKG_FC to this g77 as well.jschauma1-1/+3
2003-06-17only do the USE_BINUTILS tests if we're on NetBSD.grant1-3/+3
unbreaks this on Solaris and other non-GNU binutils platforms.
2003-06-11Don't gratuitiusly force use of binutil's "ld", as this one evidentlyfredb1-2/+1
has "${PREFIX}/lib" in it's search path, causing configure to to pick up libraries it shouldn't (such as "libiconv" -- PR pkg/21848).
2003-06-10Pull in devel/binutils if '${AS} --version' reports to be less than 2.13.2.1,fredb1-1/+18
and ensure that the built compiler uses it. This fixes a problem reported by abs compiling perl, among other things. Apparently, gcc-3.3 triggers a bug in gas: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10877 Bump ${PKGREVISION}.
2003-06-05remove some empty directories in post-install, so we do not create agrant1-3/+7
broken binary pkg.
2003-06-05The fastjar.info page covering 'jar' and 'grepjar' is also installed.jschauma1-1/+3
2003-06-02Add missing "+".yyamano1-2/+2
Pointed out by Kouichirou Hiratsuka on tech-pkg-ja mailinglist.
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-29s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than justgrant1-5/+5
libstdc++ in gcc3. when defined, USE_GCC_SHLIB ensures that the correct rpath is passed to the linker, and a full dependency on the compiler package is registered. packages which define USE_GCC_SHLIB should not include mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled automatically.
2003-05-28grammar fix in commentgrant1-2/+2
2003-05-27define USE_GCC3, so that when this file is included, we use gcc3'sgrant1-4/+5
buildlink files.
2003-05-27add a buildlink2.mk for gcc-3.3.grant1-0/+94
2003-05-26Apply patch provided by Todd Vierling in PR pkg/21227 to remove build-dependencyjschauma1-5/+2
on bison, which is not necessary.
2003-05-25use the tar.bz2 archive, it's 8MB smaller than .tar.gzjdolecek2-5/+7
add UNLIMIT_RESOURCES=datasize, which appears to be necessary to compile the package
2003-05-25file missed in last commitgrant1-1/+1
2003-05-25Updated gcc3 to 3.3.grant4-92/+20
Tested on NetBSD-current and Solaris 9. Caveats * The preprocessor no longer accepts multi-line string literals. They were deprecated in 3.0, 3.1, and 3.2. * The preprocessor no longer supports the -A- switch when appearing alone. -A- followed by an assertion is still supported. * Support for all the systems obsoleted in GCC 3.1 has been removed from GCC 3.3. * Checking for null format arguments has been decoupled from the rest of the format checking mechanism. Programs which use the format attribute may regain this functionality by using the new nonnull function attribute. Note that all functions for which GCC has a built-in format attribute, an appropriate built-in nonnull attribute is also applied. * The DWARF (version 1) debugging format has been deprecated and will be removed in a future version of GCC. Version 2 of the DWARF debugging format will continue to be supported for the foreseeable future. * The C and Objective-C compilers no longer accept the "Naming Types" extension (typedef foo = bar); it was already unavailable in C++. Code which uses it will need to be changed to use the "typeof" extension instead: typedef typeof(bar) foo. (We have removed this extension without a period of deprecation because it has caused the compiler to crash since version 3.0 and no one noticed until very recently. Thus we conclude it is not in widespread use.) * The -traditional C compiler option has been removed. It was deprecated in 3.1 and 3.2. (Traditional preprocessing remains available.) The <varargs.h> header, used for writing variadic functions in traditional C, still exists but will produce an error message if used. New Targets and Target Specific Improvements [trimmed for length and relevance to NetBSD] * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted to use the DFA processor pipeline description. * The following NetBSD configurations for the SuperH processor family have been added: o SH3, big-endian, sh-*-netbsdelf* o SH3, little-endian, shle-*-netbsdelf* o SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd* o SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd* o SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd* o SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd* * The following changes have been made to the IA-32/x86-64 port: o SSE2 and 3dNOW! intrinsics are now supported. o Support for thread local storage has been added to the IA-32 and x86-64 ports. o The x86-64 port has been significantly improved. The full list of changes can be found at: http://gcc.gnu.org/gcc-3.3/changes.html
2003-05-25fix thinko in lastgrant1-2/+3
2003-05-25rename to gcc3, allowing this to co-exist with lang/gcc. suggested bygrant1-4/+3
Jeremy C. Reed. add a CONFLICT with gcc-3* and drop PKGREVISION.
2003-05-24use ${INSTALL_INFO} rather than install-info, so that we don't accidentlyjschauma4-6/+67
use an old or non-compatible version that may be in the base system. This makes this package install flawlessly under Linux, and even though it does not directly address PR pkg/20880 (which I could not reproduce), it covers similar problems.
2003-05-22Add patch from Todd Vierling in PR 21226:wiz3-4/+18
The following method overrides "libgcc_link_spec" in the generated specs file, which gives you a compiler that automatically inserts the correct rpath argument at link time. This should work for any pkgsrc target platform, as no platform-specific config overrides it. Additionally, part of this fix changes the "scrubbed" LDFLAGS by overriding that in CONFIGURE_ENV, rather than globally. Other changes to the pkgsrc Makefile (including one I plan to submit for threads support) may need access to the "real" LDFLAGS, so overriding it wholesale in the pkg Makefile is Bad. Bump version to 3.2.2nb2.