Article View: fj.sys.misc
Article #1394Re: How to install g++-1.40.3 on LUNA II
From: Tsuyoshi Tada
Date: Sun, 15 Mar 1992 09:24
Date: Sun, 15 Mar 1992 09:24
168 lines
6886 bytes
6886 bytes
$BB?ED!wKLBg$G$9!#(J
In article <MORY.92Mar10230911@pear.nashi.juice.or.jp>
mory@pear.nashi.juice.or.jp (Morii Yoshihiro) writes:
> $B?90f!w(Jjuice$B$G$9!#(J
$BAaB.$N%j%W%i%$!"$I$&$bM-Fq$&$4$6$$$^$9!#(J
> $B;d$O(Jbinutils-1.9$B$N(Jld$B$r;HMQ$7$F$$$^$9!#(J
> $B0JA0$KC^GHBg$N3$O7G<$5$s$,%]%9%H$5$l$F$$$?(J ld
> $B$NJQ99(J$B%Q%C%A!\&A$r$"$F$F$$$^$9!#(J
: $BN,(J
> $B$^$?!"(JN_DATADDR(x) $B$O(J ld.c $B$NCf$GDj5A$5$l$F$$$^$9!#(J
> (is68k $B$N(J$B$b$N$r;H$$$^$9(J)
$B$*$+$2$5$^$G!";d$b(J binutils-1.9 $B$N(J ld $B$r:n@.$9$k$3$H$,=PMh$^$7$?!#(J
is68k $B4X78$O!"%A%'(J$B%C%/$7$?$D$b$j$@$C$?$N$G$9$,!"$I$&$d$i(J
#define DOLLAR_KLUDGE $B$rK:$l$F$$$?$h$&$G$9!#(J
$B$G!"@$$NCf$K$O(J gcc-2.0 $B$J$k$b$N$,=P$F$$$k$H$$$&$3$H$rCfB<!w#N#K#K$5$s(J
$B$+$i%a!<%k$G65$($F$b$i$$!"(Jg++ 1.40.3 $B$+$i(J gcc-2.0 $B$K0HBX$($7$^$7$?!#(J
$B$H$3$m$,(J configure $B$K$O!"(Jluna88k $B$N%(%s%H%j$,$"$k$N$K!"(Jluna2 $BMQ$N$,$J(J
$B$$$N$G!"(J$B0JA0CfB<!w#N#K#K$5$s$h$j$$$?$@$$$?(J gcc-1.40 $B$N%Q%C%A$H(J isi.h
$B$r;29M$K$7$F!"0J2<$N$h$&$J%Q%C%A$r:n@.$7(J$B$^$7$?!#(J
---- $B$3$3$+$i(J -------- $B$3$3$+$i(J -------- $B$3$3$+$i(J ----
*** configure.~1~ Sun Feb 16 18:13:10 1992
--- configure Sun Mar 15 04:21:17 1992
***************
*** 379,384 ****
--- 379,387 ----
tm_file=isi.h
fi
;;
+ m68k-*-luna*)
+ tm_file=luna2mach.h
+ ;;
m68k-sony-bsd*)
xm_file=xm-m68k.h
if [ x$gas = xyes ]
*** config/isi.h Sun Jan 19 14:00:30 1992
--- config/luna2mach.h Sun Mar 15 18:01:48 1992
***************
*** 1,4 ****
! /* Definitions of target machine for GNU compiler. ISI 68000/68020 version.
Intended only for use with GAS, and not ISI's assembler, which is buggy
Copyright (C) 1988 Free Software Foundation, Inc.
--- 1,5 ----
! /* Definitions of target machine for GNU compiler.
! Omron Luna II running Mach 2.5.
Intended only for use with GAS, and not ISI's assembler, which is buggy
Copyright (C) 1988 Free Software Foundation, Inc.
***************
*** 20,34 ****
#include "m68k.h"
! /* Without STRUCTURE_SIZE_BOUNDARY, we can't ensure that structures are
! aligned such that we can correctly extract bitfields from them.
! Someone should check whether the usual compiler on this machine
! provides the equivalent behavior of STRUCTURE_SIZE_BOUNDARY. */
! /* Alternative solutions are (1) define PCC_BITFIELD_TYPE_MATTERS,
! if that fits what the usual compiler does,
! or disable the -m68000 and -mnobitfield options. */
! #error This doesn't define STRUCTURE_SIZE_BOUNDARY
/* See m68k.h. 7 means 68020 with 68881. */
#ifndef TARGET_DEFAULT
--- 21,34 ----
#include "m68k.h"
! /* Identify the compiler. */
! #undef VERSION_INFO1
! #define VERSION_INFO1 "Omron Luna II running Mach 2.5, "
+ /* Every structure or union's size must be a multiple of 2 bytes. */
+
+ #define STRUCTURE_SIZE_BOUNDARY 16
+
/* See m68k.h. 7 means 68020 with 68881. */
#ifndef TARGET_DEFAULT
***************
*** 43,49 ****
/* If the 68881 is used, link must load libmc.a instead of libc.a */
! #define LIB_SPEC "%{g:-lg} %{msoft-float:%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}%{!msoft-float:%{!p:%{!pg:-lmc}}%{p:-lmc_p}%{pg:-lmc_p}} %{g:-lg}"
#else
/* Define __HAVE_68881__ in preprocessor if -m68881 is specified.
--- 43,49 ----
/* If the 68881 is used, link must load libmc.a instead of libc.a */
! #define LIB_SPEC "%{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
#else
/* Define __HAVE_68881__ in preprocessor if -m68881 is specified.
***************
*** 58,70 ****
/* Names to predefine in the preprocessor for this target machine. */
! #define CPP_PREDEFINES "-Dunix -Dmc68000 -Dis68k"
/* This is BSD, so it wants DBX format. */
#define DBX_DEBUGGING_INFO
! /* Override parts of m68k.h to fit the ISI 68k machine. */
#undef FUNCTION_VALUE
#undef LIBCALL_VALUE
--- 58,76 ----
/* Names to predefine in the preprocessor for this target machine. */
! #define CPP_PREDEFINES "-Dunix -Dmc68000 -Dieeep754 -DMACH -Dluna -Dluna2 -I/usr/mach/include"
+ /* Specify extra dir to search for include files. */
+ #ifdef SYSTEM_INCLUDE_DIR
+ #undef SYSTEM_INCLUDE_DIR
+ #endif
+ #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
+
/* This is BSD, so it wants DBX format. */
#define DBX_DEBUGGING_INFO
! /* Override parts of m68k.h to fit the LUNA II 68k machine. */
#undef FUNCTION_VALUE
#undef LIBCALL_VALUE
---- $B$3$3$^$G(J -------- $B$3$3$^$G(J -------- $B$3$3$^$G(J ----
configure m68k-omron-luna2mach $B$H$7$?$"$H(J INSTALL $B$K=>$C$F:n6H(J$B$r?J$a!"(J
$B2?$H$+%$%s%9%H!<%k$9$k$3$H$,=PMh$^$7$?!#(Jgcc $B$K4X$7$F$O!"$-$A$s$HF0$$$F(J
$B$$$k$h$&$G$9!#$?$@!"$"(J$B$^$j<+?.$,$J$$$N$G!"$h$m$7$1$l$P?90f$5$s$O$I$N$h(J
$B$&$J%Q%C%A$rEv$F$i$l$?$+65$($F$$$?$@$-$?$$$N$G$9$,(J...
$B!t(J $B$G$b!"$A$g$C$H5$$K$J$k$3$H$,$"$j$^$9!#(Jgcc $B$r:n@.$9$k$H$-$K0l=o$K:n(J
$B!t(J $B$i$l$k(J cpp $B$rD>@\5/F0$9$k(J$B$H!"(JIllegal Instruction (core dumped) $B$H$J$C(J
$B!t(J $B$F$7$^$&$N$G$9!#(Jgcc-1.40 $B$N$H$-$N$b$=$&$G$7$?!#$I$&$7(J$B$F$G$7$g$&!)(J
$B!t(J $B?90f$5$s$N$H$3$m$N(J gcc-cpp $B$O!"$-$A$s$HF0$$$F$$$^$9$+!)(J
$B$"$H$O!"(Jlibg++ 2.0 $B$r;D$9$N$_(J$B$H$$$&=j$J$N$G$9$,!"(Jc++ $B$rCN$i$J$$;d$O%X%C(J
$B%@%U%!%$%k4X78$G;M6lH,6l$7$F$$$^$9!#$3$A$i$NJ}$O!">/$7(J c++ $B$rJY6/$7$F(J
$B$+$i$NJ}$,$h$5$=$&$G$9!#(J
$B!t(J c++ $B$bCN$i$J$$$N$K2?$G(J g++ $B$,I,MW$+$G$9$C$F!)$$$d!";d$O$?$@(J groff
$B!t(J $B$rF0$+$7$?$$$@$1$J$N$G$9!#(J
--
----------------------------
$BKL3$F;Bg3X(J $B9)3XIt(J
$B5!3#9)3X2J(J $BN.BN9)3XBh#19V:B(J
$BB?ED(J $B9d(J
tsuyo@mech.hokudai.ac.jp
----------------------------
Technical Details
Message-ID:
<TSUYO.92Mar15182409@wonk.mech.hokudai.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!msi.umn.edu!stanford.edu!sun-barr!ccut!s.u-tokyo!riksun!rknss1!rkna50!nttlab!wsclark!tsuyoReferences:
<TSUYO.92Mar9214519@wonk.mech.hokudai.ac.jp> <MORY.92Mar10230911@pear.nashi.juice.or.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 1070da,a8629a1ee7f443de X-Google-Attributes: gid1070da,public X-Google-ArrivalTime: 1992-03-15 10:46:10 PST Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!msi.umn.edu!stanford.edu!sun-barr!ccut!s.u-tokyo!riksun!rknss1!rkna50!nttlab!wsclark!tsuyo From: tsuyo@mech.hokudai.ac.jp (Tsuyoshi Tada) Newsgroups: fj.sys.misc Subject: Re: How to install g++-1.40.3 on LUNA II Message-ID: <TSUYO.92Mar15182409@wonk.mech.hokudai.ac.jp> Date: 15 Mar 92 09:24:09 GMT References: <TSUYO.92Mar9214519@wonk.mech.hokudai.ac.jp> <MORY.92Mar10230911@pear.nashi.juice.or.jp> Sender: news@wsclark.huie.hokudai.AC.JP Reply-To: tsuyo@mech.hokudai.ac.jp Distribution: fj Organization: Dept. of Mech. Eng., Hokkaido Univ., Sapporo Japan. Lines: 168 In-reply-to: mory@pear.nashi.juice.or.jp's message of 10 Mar 92 14:09:11 GMT