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

Re: [MiNT] Compilation script for cross development under Linux



Hello MiKRO,

On Monday 24 December 2007, MiKRO wrote:

[...]

> So, what do you need? Download from Vincent's web

> (http://vincent.riviere.free.fr/soft/m68k-atari-mint/) gcc, binutils,

> pml and mintlib (use mintlib from cvs -- no need to patch anything or

> download that mintlib + manually patch it) + patches, set correct

> versions in that script (currently no need to change anything),

> change INSTALL_DIR and... and that's all :)

>

> I hope you'll find it useful, it was nightmare to get it working :)

I'm afraid the nightmare is not over yet. I downloaded the packages, did not rename any of them, edited INSTALL_DIR in 'build.sh' then ran the script. It fails with mintlib. It looks like a path problem. See below:

Unpacking mintlib ...

Done.

build.sh: line 105: cd: mintlib: No such file or directory

sed: can't read buildrules: No such file or directory

sed: can't read checkrules: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

Unpacking pml-2.03 ...

unzip: cannot find or open pml-2.03.zip, pml-2.03.zip.zip or pml-2.03.zip.ZIP.

Done.

Patching pml-2.03 with patch version 20070609 ...

build.sh: line 130: cd: pml-2.03: No such file or directory

bzcat: Can't open input file ../pml-2.03-mint-20070609.diff.bz2: No such file or directory.

Done.

build.sh: line 140: cd: pml-2.03/pmlsrc: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

make: *** No rule to make target `clean'. Stop.

sed: can't read Makefile.16: No such file or directory

sed: can't read Makefile.32: No such file or directory

sed: can't read Makefile: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

build.sh: line 160: cd: gcc-4.2.2-cross: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

And here's the directory listing:

bin gemlib-0.43.6-src.tar.gz

binutils-2.18 info

binutils-2.18-cross lib

binutils-2.18-mint-20070922.diff.bz2 m68k-atari-mint

binutils-2.18.tar.bz2 man

build.sh mintlib-CVS-20071212

build.sh~ mintlib-CVS-20071212-patch-20071212.diff.bz2

gcc-4.2.2 mintlib-CVS-20071212.tar.bz2

gcc-4.2.2-cross pml-2.03-mint-20070609.diff.bz2

gcc-4.2.2-mint-20071212.diff.bz2 pml-2.03.zip

gcc-4.2.2.tar.bz2

JFL

--

Jean-François Lemaire