[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Compiling FreeMiNT

On 1/8/10 2:24 PM, Stefan Niestegge wrote:
Stefan Niestegge schrieb:
Mark Duckworth schrieb:
On 1/8/10 2:08 PM, Stefan Niestegge wrote:
Mark Duckworth schrieb:
On 1/8/10 1:29 PM, Stefan Niestegge wrote:
Hi MiNTlist,

i want to compile a recent FreeMiNT on/for my Falcon with ct63.
So i logged in into cvs:

export CVSROOT=:pserver:cvsanon@sparemint.org:/mint cvs login

with the command
cvs checkout freemint

i get the recent main branch? Or am i doing something wrong?

If there is a 'howto proper compile FreeMiNT using EasyMiNT install plus GCC 4.2.2 / Binutils 2.20' i was unable to find, please give me a link.
There is no howto really. Someone needs to build proper working binutils 2.20 and gcc 4.4.2 rpms that you can install to replace your currently installed gcc. Then it is a matter of cd'ing into the freemint folder and typing 'make'. Until then you need to download the builds from mikro's site (use google to find it), tar jxvf -C / binutils-2.20.tar.bz2 and tar jxvf -C / gcc-4.4.2.tar.bz2 (the names may be different). Then you need to make those overcome your current gcc/binutils by doing export PATH=/usr/local/bin/:$PATH. Then you can verify if you type gcc --version and you get 4.4.2 you should be good to go to the freemint folder and type make and you will be building with gcc 4.4.2. If you have any other gcc or binutils builds installed under /usr/local they will be trashed by this command I believe.


GCC and binutils got isntalled some weeks ago, a friend guided me via IRC chat. I'm not sure we did it that way,
but gcc -v gives me 4.4.2.

How to check for binutils?
ld --version.  I should be 2.20 vs 2.13


Bang. Its still 2.13.  This explains a lot.

Aha, after the export PATH command i have ld giving version 2.20.

How can i save my 060 from builing all the targets? i only need 040/060 (Since they are the same, right?).

Thanks so far,

In theory you can do make 060 but in practice that didn't work for me last time I tried. I forget why.