1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
David E. O'Brien
cc11e4e242 Make -fsjlj-exceptions the default (ie, no DWARF2_UNWIND_INFO) for the ELF
case too.

Submitted by:	terry (Thanks to Amancio for identification)
1999-03-22 02:02:13 +00:00
David E. O'Brien
c6a48c0a29 GNUHOST is now "i386-unknown-freebsd3" for ELF machines and
"i386-unknown-freebsdaout3" for a.out machines.
1999-02-09 18:25:43 +00:00
David E. O'Brien
f1554d4df6 DEFAULT_PCC_STRUCT_RETURN should be "0" for the ELF case too. 1999-01-12 10:15: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
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
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