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]

GNAT dream with 3.2.2 pre-release for i686 and m6811-elf


Hi!

I was able to build GCC-3.2.2 pre-release with GNAT (i686-linux & m6811-elf):

/usr/local/3.2.2/bin/gcc -v
Reading specs from /usr/local/3.2.2/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: ../gcc-3.2.2-20030129/configure --enable-languages=c,c++,ada --prefix=/usr/local/3.2.2
Thread model: posix
gcc version 3.2.2 20030129 (prerelease)

/usr/local/3.2.2/bin/m6811-elf-gcc -v
Reading specs from /usr/local/3.2.2/lib/gcc-lib/m6811-elf/3.2.2/specs
Configured with: ../gcc-3.2.2-20030129/configure --target=m6811-elf --program-prefix=m6811-elf- --prefix=/usr/local/3.2.2 --enable-languages=c,c++,ada
Thread model: single
gcc version 3.2.2 20030129 (prerelease)


When building the native i686 compiler, I encountered a problem when I configured
and built as follows:

  ./configure --enable-languages=c,c++,ada
  make
  cd gcc
  make gnatlib_and_tools

When you do this, the gnat1 compiler crashes when it builds the runtime.
There is PR 6584 and PR 6573 which describes this situation.


I followed more carefully the doc and did a 'make bootstrap' instead of make.
This time, the last stage compiler was able to build the runtime.
I've used GNAT 3.14p to create the stage1 compiler (ie, everything compiled with 2.8.1).


	Stephane

P.S: I have not compiled the Ada runtime for HC11 because it is not ported.

-----------------------------------------------------------------------
        Home                               Office
E-mail: stcarrez@nerim.fr                  Stephane.Carrez@solsoft.fr
WWW:    http://stcarrez.nerim.net          http://www.solsoft.com
        Free the Software!                 Visual Security Policy Management



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