1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
David E. O'Brien
9554bec5c6 i386 => ${ARCH}
Requested by:   imp
1998-11-13 07:32:21 +00:00
Satoshi Asami
dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00
David E. O'Brien
87c709ae22 Pass the GNUARCH value to `configure' to force the detection of an ELF system.
(I still intend to fix the bug in the script that misses an ELF system for
an a.out one)

Current fix submitted by:	"Alec Wolman" <wolman@cs.washington.edu>
1998-11-10 07:33:33 +00:00
Satoshi Asami
f7ccaa76b6 GNUHOST was defined twice. Also, take out the ELF cruft, a simple
BROKEN_ELF will do. :)
1998-10-08 01:19:19 +00:00
David E. O'Brien
98317e7de4 Broken on ELF boxes. 1998-09-27 04:25:56 +00:00
Tim Vanderhoek
8ce50883da The first time I tried committing this set of manpage removals it got
all the way to diffing yorick/pkg/PLIST and then died with a
"bad hostname freefall.freebsd.org" ....  Hopefully that's not bad...  ;-)

Hmm..  Maybe I'll try doing this from beast, next!  kickme's a boring
machine, and bento is busy.
1998-08-18 18:33:15 +00:00
David E. O'Brien
64dbac5893 dont ask.. 1998-08-18 03:47:45 +00:00
David E. O'Brien
9c38a6c5ee Update to use PLIST_SUB 1998-08-18 03:45:02 +00:00
David E. O'Brien
b756e894fa * expmed.c (expand_mult): Use 0 as add_target if should preserve
subexpressions.
* expmed.c (expand_divmod): Save last divison constant and
        if rem is same as div, don't adjust rem cost.

Submitted by:	Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
1998-08-14 09:20:23 +00:00
David E. O'Brien
8c54814372 * Minor bug fixes from OpenBSD (and some stuff to ease diff'ing in the future)
* Some initial support for FreeBSD-alpha
* Add some optimizations required by g77, which still might be of some use
  to adventuring C/C++ programmers.

Obtained from:	OpenBSD (parts)
1998-08-13 17:55:40 +00:00
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