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

[MiNT] Compiling FreeMiNT with gcc 2.95.1



In an attempt to do some minor things to XaAES I checked out the current
sources from CVS today. I haven't been using gcc for years though, and now
I'm having problems with compiling with gcc 2.95.1. I'm using a un-modified
EasyMiNT setup.

The problem is that I get the following error:

root@vernon:/e/Prosjekt/freemint-cvs>make
Making all in shared
make[1]: Entering directory `/e/Prosjekt/freemint-cvs/shared'
Making all in libsyscall
make[2]: Entering directory `/e/Prosjekt/freemint-cvs/shared/libsyscall'
make[2]: Leaving directory `/e/Prosjekt/freemint-cvs/shared/libsyscall'
make[1]: Leaving directory `/e/Prosjekt/freemint-cvs/shared'
Making all in sys
make[1]: Entering directory `/e/Prosjekt/freemint-cvs/sys'
Making all in arch
make[2]: Entering directory `/e/Prosjekt/freemint-cvs/sys/arch'
Making all in magic
make[3]: Entering directory `/e/Prosjekt/freemint-cvs/sys/arch/magic'
gcc -I../.. -mshort -g -c genmagic.c -o genmagic.o
In file included from ../../mint/mint.h:17,
                 from genmagic.c:11:
../../mint/kernel.h:37: Invalid token in expression
make[3]: *** [genmagic.o] Error 1
make[3]: Leaving directory `/e/Prosjekt/freemint-cvs/sys/arch/magic'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/e/Prosjekt/freemint-cvs/sys/arch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/e/Prosjekt/freemint-cvs/sys'
make: *** [all-recursive] Error 1

I'm clueless about gcc - can anyone give me a hint on how to compile the
kernel?

Jo Even