Building m68k-coff-gcc

Peter Barada pbarada@mail.wm.sps.mot.com
Thu Dec 5 09:47:00 GMT 2002


>>     _mulsi3
>>     /bin/sh: m68k-coff-ar-2.95.3: command not found
>
>Hmmm.
>
>Is your ${PREFIX}/bin directory in your PATH?
>
>What did you specify for --target, --prefix, and so forth during
>configure?  This looks like a combination of errors...

The problem is that the binutils are configured with
--program-suffix=2.12.1 and the bootstrap is conifgured with
--program-suffix=2.95.3 which don't match.  It doesn't matter if
${PREFIX}/bin is in his path - it won't find m68k-coff-ar-2.95.3 since
what was installed is m68k-coff-ar-2.12.1  You could try adding a make
stanza which creates a symbolic link from m68k-coff-1.21.1 to
m68k-coff-2.95.3 and then configure and build the bootstrap...

># The install directory (PREFIX) is left unchanged, it is '/usr/local/'
># The binutils and the compiler should get an excecutable prefix, and
># both a version suffix - should, but not MUST ;-)

>From this comment I'm assuming that you want the executable prefix,
but not the suffix.  If so, just drop the --program-suffix from the
configure lines and things will be better.

In fact I've modified your Makefile to do that, and I've successfully
built an m68k-coff bootstrap (using binutils-2.13 and gcc-3.2).  I also
added an INSTALL_DIR so you can point the installation anywhere(even
/usr/local if you want), just to be complete.  Also I added
install-binutils and install-bootstrap targets.

When I build up a toolchain, I pick a directory that the toolchain is
going to be put, make the directory as root and make myself the owner,
and then build the world as me, *not* root.  

To build, you have to put ${INSTALL_DIR}/bin  in your path, otherwise
gcc won't properly configure since it can't find the cross versions of
the assembler/archiver, etc.

Then you can:

make binutils
make install-binutils
make bootstrap
make install-bootstrap

Hope this helps.

begin 644 m68k-coff-Makefile
M(PT*(R!G96YE<F%L('!A<F%M971E<G,L(&1E<V-R:6)I;F<@=&AE('1A<F=E
M="!A;F0@=&AE(&QO8V%L(&5N=FER;VYM96YT#0HC('=H96X@<W1A<G1I;F<L
M('=E(&%R92!A<W-U;65D('1O(&)E(&EN('1H92!B=6EL9"!D:7)E8W1O<GDN
M#0HC#0HC(%1H92!I;G-T86QL(&1I<F5C=&]R>2`H4%)%1DE8*2!I<R!L969T
M('5N8VAA;F=E9"P@:70@:7,@)R]U<W(O;&]C86PO)PT*(R!4:&4@8FEN=71I
M;',@86YD('1H92!C;VUP:6QE<B!S:&]U;&0@9V5T(&%N(&5X8V5C=71A8FQE
M('!R969I>"P@86YD#0HC(&)O=&@@82!V97)S:6]N('-U9F9I>"`M('-H;W5L
M9"P@8G5T(&YO="!-55-4(#LM*0T*(PT*4T]54D-%7U!!5$@@("`@/7XO=V]R
M:R]C=G,M=V%V96UA<FLO8W)O<W,M;&EN=7@M=&]O;',-"D))3E5424Q37U9%
M4E-)3TX],BXQ,PT*1T-#7U9%4E-)3TX@("`@/3,N,@T*2$]35"`@("`@("`@
M/6DV.#8M<&,M;&EN=7@M9VYU#0I405)'150@("`@("`@(#UM-CAK+6-O9F8-
M"DE.4U1!3$Q?1$E2("`@/2]T;7`O;38X:RUC;V9F#0HC#0HC('-O;64@=7-E
M9G5L('9A<G,Z#0HC#0I"24Y55$E,4U]33U520T5?4$%42"`@("`])'M33U52
M0T5?4$%42'TO8FEN=71I;',M)'M"24Y55$E,4U]615)324].?0T*1T-#7U-/
M55)#15]0051(("`@("`@("`])'M33U520T5?4$%42'TO9V-C+21[1T-#7U9%
M4E-)3TY]#0I04D]'4D%-7U!2149)6"`@("`@("`@/21[5$%21T54?2T-"D=#
M0U]3549&25@@("`@("`@(#TM)'M'0T-?5D524TE/3GT-"D))3E5424Q37U-5
M1D9)6"`@("`@("`@/2TD>T))3E5424Q37U9%4E-)3TY]#0I"24Y55$E,4U]"
M54E,1$1)4B`@("`])'M405)'151]+6)I;G5T:6QS+21[0DE.551)3%-?5D52
M4TE/3GT-"D)/3U135%)!4%]"54E,1$1)4B`@("`])'M405)'151]+6)O;W1S
M=')A<"TD>T=#0U]615)324].?0T*3D573$E"7T)524Q$1$E2("`@("`@("`]
M)'M405)'151]+6YE=VQI8@T*1T-#7T)524Q$1$E2("`@("`@("`])'M405)'
M151]+6=C8RTD>T=#0U]615)324].?0T*#0HN4$A/3EDZ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&EL97(@:&%S
M(&)E96X@8G5I;'0@<W5C8V5S<V9U;&QY+@T*"4!E8VAO(%PG;6%K92!I;G-T
M86QL+6)O;W1S=')A<%PG("T@87,@<F]O="`M(&ES(')E<75I<F5D(&YO=RX-
M"@E`96-H;R`N#0H)0&5C:&\@+@T*"69A;'-E#0H-"FEN<W1A;&PM8F]O='-T
M<F%P.@T*"6-D("1[0D]/5%-44D%07T)524Q$1$E2?3L@;6%K92!I;G-T86QL
M#0H-"FYE=VQI8B!C<F]S<V=C8SH-"@E`96-H;R!$;VY<)W0@:'5R<GD@+BXN
"#0H`
`
end


-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list