Commit Graph

16 Commits

Author SHA1 Message Date
Satoshi Asami
48887e4ba8 Make these ports (TenDRA, egcs, gcc28, glibstdc++28 and guavac, all
under lang) use ${OSREL} as defined in bsd.port.mk rev 1.281 and
1.227.2.43.

Note gcc28 is hopelessly broken, it uses an undefined variable
${GNUOSREL} and thus has an empty string wherever ${OSREL} should
be.  However, it's consistent with its own PLIST at the current state
so I haven't "fixed" it yet.
1998-08-07 22:49:31 +00:00
David E. O'Brien
4fdec67a2c Better way to do the equivalent of "-fsjlj-exceptions". 1998-07-22 02:53:14 +00:00
John Polstra
2c8f4253cc Fix this port so that it can find crt0.o in /usr/lib/aout on recent
-current systems.

Fix the definition of the preprocessor symbol __FreeBSD__.  It had
been defined as "2=3".

Implement support for weak symbols.  This solves the "___error"
undefined problem on -current systems.

Default to -fsjlj-exceptions even for C programs.  This is needed
because a few modules in libgcc are built with -fexceptions turned
on, and the default style of exception support causes croakage.

I tried a make buildworld on a recent -current system by adding the
following to /etc/make.conf:

CC=/usr/local/bin/gcc28 -B/usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/
CXX=/usr/local/bin/g++28 -B/usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/

It got pretty far along before dying.  The death occurred when building
our old native libstdc++, almost certainly because of header file
incompatibilities.

Another obstacle for make world is that this port doesn't currently
build a PIC version of libgcc (libgcc_pic.a).
1998-06-30 21:10:27 +00:00
Satoshi Asami
838073c384 Unmark it broken, it worked when I emptied /usr/local. 1998-06-10 20:16:08 +00:00
Satoshi Asami
be8fd8a4ff for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _eh_compat _pure; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2   -DIN_GCC    -g -I./include   -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
 :
_fixunsdfsi
In file included from include/limits.h:116,
                 from include/syslimits.h:7,
                 from include/limits.h:11,
                 from ./libgcc2.c:1085:
/usr/local/lib/gcc-lib/i386-unknown-freebsd2.2.6/2.8.1/include/limits.h:212: unbalanced `#endif'
1998-06-06 04:42:31 +00:00
David E. O'Brien
eedc0a8162 Fix the LINK_SPEC for a.out.
Submitted by:	roberto
1998-05-22 00:26:29 +00:00
David E. O'Brien
1fd22c5b91 Update comment and descriptions. 1998-04-30 23:52:35 +00:00
David E. O'Brien
39789a9181 Sync-up CPP predefines w/our stock compiler and EGCS.
1. we are not 386BSD
2. ELF shouldn't need "-fsjlj-exceptions"
1998-04-12 13:29:02 +00:00
David E. O'Brien
369d20a3e1 Bump comment from 2.8 to 2.8.1. 1998-04-12 13:16:25 +00:00
David E. O'Brien
83d4c8fdbf Define __FreeBSD__ to be the major version (rather than empty).
Add -fsjlj-exceptions as the default.
Requested by:	John Fiber
1998-03-11 11:49:14 +00:00
David E. O'Brien
b8d6ca485a Upgrade to 2.8.1 1998-03-10 06:23:36 +00:00
John Fieber
a9cc5728f7 Fix missing brace in the pre-install target. 1998-03-09 03:46:16 +00:00
David E. O'Brien
413a8ec20d Abstract this more to make building on non-x86 easiler. 1998-03-06 05:54:22 +00:00
David E. O'Brien
96c25a5af3 Latest install hacks for GCC 2.8.
The changes were done to closely match the upcoming libstdc++ port I will
commit shortly.
1998-03-05 03:29:59 +00:00
David E. O'Brien
d44b822911 Build the gcc28 we install with itself rather than /usr/bin/cc.
Renamed manpages to <binanary>28.1.gz to reduce namespace conflicts.
Added bin/gcc28 and bin/g++28.
1998-03-04 09:19:23 +00:00
David E. O'Brien
c9ebcf8da3 Gcc/G++ version 2.8.0. Includes greatly improved C++ compiler and latest
SGI reference STL.
1998-01-16 10:15:14 +00:00