This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[971023] fixes for a m68k-motorola-sysv


Hi,

sorry to bother you again with this old system...  But, Motorola chose
IMHO  a very bad  default:  selling a system  *with*  an FPU 68881 but
using defaults for the lib filenames, as if the  default where a stock
68000 without   knowledge  of any FPU :-(   Many  words, short meaning
(Langer  Rede, kurzer  Sinn -  what's   the *real* english phrase  for
this?), the name for libm.a is libm881.a on this system.


Wed Oct  8 16:23:09 1997  Manfred Hollstein  <manfred@s-direktnet.de>

	* configure.in: Use delta.mt for m68k-motorola-sysv.
	* config/delta.mt: New makefile fragment.

diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-971023.orig/libstdc++/configure.in egcs-971023/libstdc++/configure.in
*** egcs-971023.orig/libstdc++/configure.in	Tue Sep 16 18:01:55 1997
--- egcs-971023/libstdc++/configure.in	Tue Oct 28 12:14:13 1997
*************** fi
*** 44,49 ****
--- 44,50 ----
  # Make sure the right flags are defined for multi-threading.
  case "${target}" in
    *-*-linux-gnu)	frags="${frags} linux.mt" ;;
+   m68k-motorola-sysv)	frags="${frags} delta.mt" ;;
  esac
  
  for frag in ${frags}; do
*** egcs-971023.orig/libstdc++/config/delta.mt	Wed May 28 02:49:58 1997
--- egcs-971023/libstdc++/config/delta.mt	Wed Oct  8 18:34:28 1997
***************
*** 0 ****
--- 1,2 ----
+ # If FPU instructions are generated by default, we have to use a special libm.a
+ MLDLIBS = $(LDLIBS) `case "$(CXXFLAGS)" in *-m68000* | *-mc68000* | *-msoft-float* ) echo -lm ;; * ) echo -lm881 ;; esac`


Thanks, keep on hacking

-- 
 Manfred Hollstein       If you have any questions about GNU software:
 Hindenburgstr. 13/1                   <mailto:manfred@s-direktnet.de>
 75446 Wiernsheim, FRG  <http://www.s-direktnet.de/HomePages/manfred/>
 PGP key:    <http://www.s-direktnet.de/HomePages/manfred/manfred.asc>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]