This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.4 - gnatmake has wrong gcc name



Hi,


I now have managed to build RTEMS toolsets including
Ada for multiple CPU families (arm, i386, m68k,
mips, sparc, and powerpc).  I am focusing more detailed
testing on the sparc right now since I have rewritten
sparc/config/rtemself.h.  The toolset is capable
of compiling RTEMS so it looks OK BUT...

My target is sparc-rtems4.7.  sparc-rtems4.7-gnatmake
is confused about the name of the target gcc.  It is
failing with this:

sparc-gcc -c -O -gnata -gnatE -gnato -g -B/opt/gcc-3.4-test/sparc-rtems4.7/erc32/lib -specs bsp_specs -qrtems -mcpu=cypress hello.adb
sparc-rtems4: error, unable to locate sparc-gcc


Note that the name of the gcc is wrong and that the name
used in the error message is also wrong.

The sdefault.adb has this:

S0 : constant String := "/opt/gcc-3.4-test/";
S1 : constant String := "/opt/gcc-3.4-test/lib/gcc/sparc-rtems4.7/3.4.0/adainclude/";
S2 : constant String := "/opt/gcc-3.4-test/lib/gcc/sparc-rtems4.7/3.4.0/adalib/";
S3 : constant String := "sparc-unknown-rtems4.7/";
S4 : constant String := "/opt/gcc-3.4-test/lib/gcc/sparc-rtems4.7/3.4.0/";


S0, S1, S3, adn S4 are OK.  S3 is the canonical target name so
is probably OK but it must be being parsed somewhere and
getting confused.

Advice and pointers appreciated.

--joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]