The attached packaging builds the first post-branch
snapshot of gcc 4.2. It should be able to build gcc,
g++, objc and gfortran as multilib on both ppc and intel.
The libffi and libjava multilib builds are disabled since
they don't work properly in gcc 4.2. We may want to
fork the gcc4 package as gcc42 since both several of
the libs provided have had soversion bumps. For the
moment however I am more concerned about getting
some feedback on the builds on non-EMT64 Macintel
machines as well as MacPro machines. The current
branch should build multilib fine on both G4's
and non-EMT64 boxes.
Jack
Package: gcc4
Version: 4.1.9999
Revision: 20061024
Epoch: 2
Source: ftp://gcc.gnu.org/pub/gcc/snapshots/4.2-%r/gcc-4.2-%r.tar.bz2
Source-MD5: 24b8fbdef7e9d8701a41379b5d8a69d7
NoSetCPPFLAGS: True
NoSetLDFLAGS: True
NoSetMACOSX_DEPLOYMENT_TARGET: True
Depends: gmp-shlibs (>= 4.2.1-1), libmpfr1-shlibs (>= 2.2.0-2), odcctools (>=
622.3-20060913), %N-shlibs (>= %e:%v-%r), libiconv
BuildDepends: gmp (>= 4.2.1-1), libmpfr1 (>= 2.2.0-2), libiconv-dev
ConfigureParams: --prefix=%p/lib/gcc4
--enable-languages=c,c++,fortran,objc,java --with-gmp=%p
--with-included-gettext --host=%m-apple-darwin`uname -r|cut -f1 -d.`
--with-as=%p/lib/odcctools/bin/as --with-ld=%p/lib/odcctools/bin/ld
--with-nm=%p/lib/odcctools/bin/nm --mandir='${prefix}/share/man'
--infodir='${prefix}/share/info' --with-libiconv-prefix=%p
PatchScript: <<
#!/bin/sh -ev
# make sure odcctools libtool being used.
perl -pi -e 's,/usr/bin/libtool,%p/lib/odcctools/bin/libtool,;'
gcc/config/darwin.h
perl -pi -e 's,nm -P,%p/lib/odcctools/bin/nm -P,;'
libstdc++-v3/scripts/make_exports.pl
<<
Patch: %n.patch
CompileScript: <<
#!/bin/sh -ev
ulimit -s `ulimit -s`
mkdir ../darwin_objdir
cd ../darwin_objdir
../gcc-4.2-%r/configure %c
make
# make check requires autogen, dejagnu and expect.
#make check-gcc
<<
InstallScript: <<
#!/bin/sh -ev
cd ../darwin_objdir
make install DESTDIR=%d
mkdir -p %i/bin
cd %i/bin
ln -s %p/lib/gcc4/bin/gfortran gfortran
ln -s %p/lib/gcc4/bin/gcc gcc-4
ln -s %p/lib/gcc4/bin/g++ g++-4
ln -s %p/lib/gcc4/bin/c++ c++-4
ln -s %p/lib/gcc4/bin/cpp cpp-4
ln -s %p/lib/gcc4/bin/gcov gcov-4
ln -s %p/lib/gcc4/bin/gcj gcj
ln -s %p/lib/gcc4/bin/gcj-dbtool gcj-dbtool
ln -s %p/lib/gcc4/bin/gcjh gcjh
ln -s %p/lib/gcc4/bin/gij gij
ln -s %p/lib/gcc4/bin/gjnih gjnih
ln -s %p/lib/gcc4/bin/grepjar grepjar
ln -s %p/lib/gcc4/bin/grmiregistry grmiregistry
ln -s %p/lib/gcc4/bin/grmic grmic
ln -s %p/lib/gcc4/bin/fastjar fastjar
ln -s %p/lib/gcc4/bin/jcf-dump jcf-dump
ln -s %p/lib/gcc4/bin/jv-convert jv-convert
ln -s %p/lib/gcc4/bin/jv-scan jv-scan
<<
SplitOff: <<
Package: %N-shlibs
Replaces: gcc4 (<= 20050130-4), gfortran-shlibs
Provides: gfortran-shlibs
Description: Shared libraries for gcc4
DocFiles: gcc/COPYING gcc/COPYING.LIB
Homepage: http://gcc.gnu.org/
Files: <<
lib/gcc4/lib/libgcc_s.1.dylib
lib/gcc4/lib/libgfortran.2.dylib
lib/gcc4/lib/libgfortran.2.0.0.dylib
lib/gcc4/lib/libssp.0.dylib
lib/gcc4/lib/libssp.0.0.0.dylib
lib/gcc4/lib/libgcc_s.10.4.dylib
lib/gcc4/lib/libgcc_s.10.5.dylib
lib/gcc4/lib/libobjc-gnu.2.dylib
lib/gcc4/lib/libobjc-gnu.2.0.0.dylib
lib/gcc4/lib/libstdc++.6.dylib
lib/gcc4/lib/libstdc++.6.0.9.dylib
lib/gcc4/lib/libgomp.1.dylib
lib/gcc4/lib/libgomp.1.0.0.dylib
lib/gcc4/lib/libffi.4.0.1.dylib
lib/gcc4/lib/libffi.4.dylib
lib/gcc4/lib/libgcj.8.0.0.dylib
lib/gcc4/lib/libgcj.8.dylib
lib/gcc4/lib/libgcj-tools.8.0.0.dylib
lib/gcc4/lib/libgcj-tools.8.dylib
lib/gcc4/lib/libgij.8.0.0.dylib
lib/gcc4/lib/libgij.8.dylib
<<
Shlibs: <<
%p/lib/gcc4/lib/libgfortran.2.dylib 3.0.0 %n (>= 4.1.999-20060915)
%p/lib/gcc4/lib/libffi.4.dylib 5.0.0 %n (>= 20050130-5)
%p/lib/gcc4/lib/libstdc++.6.dylib 5.0.0 %n (>= 4.1-1)
%p/lib/gcc4/lib/libgcc_s.1.dylib 1.0.0 %n (>= 4.1-1)
%p/lib/gcc4/lib/libgcj.8.dylib 9.0.0 %n (>= 4.1.999-20060915)
%p/lib/gcc4/lib/libgcj-tools.8.dylib 9.0.0 %n (>= 4.1.999-20060915)
%p/lib/gcc4/lib/libgij.8.dylib 9.0.0 %n (>= 4.1.999-20060915)
%p/lib/gcc4/lib/libssp.0.dylib 1.0.0 %n (>= 4.1-1)
%p/lib/gcc4/lib/libobjc-gnu.1.dylib 2.0.0 %n (>= 20050130-5)
%p/lib/gcc4/lib/libgomp.1.dylib 2.0.0 %n (>= 2:4.1.99-20060513)
<<
<<
License: GPL
Description: GNU Compiler Collection Version 4
DescDetail: <<
GCC, the GNU Compiler Collection, includes front ends for
C, C++, Objective-C, Objective-C++, Fortran, Java, and Ada.
.
C, C++, Objective C and Fortran and Java are included in this package.
.
The C and C++ compilers are named gcc-4 and g++-4 to avoid
conflicts with gcc and g++ installed by the Apple Developer Tools
<<
Homepage: http://gcc.gnu.org/
Maintainer: None <fink-devel@lists.sourceforge.net>
--- gcc/libffi/configure 2006-10-22 17:30:52.000000000 -0400
+++ gcc.configure/libffi/configure 2006-10-22 21:45:23.000000000 -0400
@@ -1337,7 +1337,7 @@
if test "${enable_multilib+set}" = set; then
enableval="$enable_multilib"
case "$enableval" in
- yes) multilib=yes ;;
+ yes) multilib=no ;;
no) multilib=no ;;
*) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib
option" >&5
echo "$as_me: error: bad value $enableval for multilib option" >&2;}
--- gcc/libjava/configure 2006-10-22 17:26:07.000000000 -0400
+++ gcc.configure/libjava/configure 2006-10-22 21:44:23.000000000 -0400
@@ -1618,7 +1618,7 @@
if test "${enable_multilib+set}" = set; then
enableval="$enable_multilib"
case "${enableval}" in
- yes) multilib=yes ;;
+ yes) multilib=no ;;
no) multilib=no ;;
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib
option" >&5
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
--- gcc-4.2-20060822/gcc/testsuite/lib/prune.exp.org 2006-08-23
18:33:56.000000000 -0400
+++ gcc-4.2-20060822/gcc/testsuite/lib/prune.exp 2006-08-23
18:41:28.000000000 -0400
@@ -43,6 +43,7 @@
regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $text ""
text
regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not
done" $text "" text
+ regsub -all "(^|\n)can't find atom for N_GSYM stabs \[^\n\]* in \[^\n\]*"
$text "" text
#send_user "After:$text\n"
return $text
--- gcc-4.2-20060825/libstdc++-v3/testsuite/lib/prune.exp.org 2006-08-26
11:22:52.000000000 -0400
+++ gcc-4.2-20060825/libstdc++-v3/testsuite/lib/prune.exp 2006-08-26
11:23:39.000000000 -0400
@@ -29,5 +29,7 @@
regsub -all "(^|\n)\[^\n\]*: Additional NOP may be necessary to workaround
Itanium processor A/B step errata" $text "" text
regsub -all "(^|\n)\[^\n*\]*: Assembler messages:\[^\n\]*" $text "" text
+ regsub -all "(^|\n)can't find atom for N_GSYM stabs \[^\n\]* in \[^\n\]*"
$text "" text
+
return $text
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel