From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: compiling for sparc64
Date: Sat, 29 Aug 2009 07:45:30 -0700 (PDT)
Date: 2009-08-29T07:45:30-07:00 [thread overview]
Message-ID: <f2762804-feab-4bbd-b8d1-99e50e87dc90@z34g2000vbl.googlegroups.com> (raw)
In-Reply-To: h7aqa3$ob3$1@news.newsland.it
Allison Phillips wrote on comp.lang.ada:
> I have a linux-i686 pc and i need to cross compile a program with gnat to
> a sparc64-freebsd target.
> are there some parameters for the compiler?
> i searched in google and in the old messages of this newsgroup, but no
> answers.
> i don't need to have a sparc64 version of gnat, only the compiled program.
You need to build a cross-compiler from the gnat sources. GCC
requires the native and cross compilers to be from the same sources;
therefore you have to build your cross-compiler from the exact same
sources as your native compiler.
To build a cross-compiler, follow the installation instructions[1],
passing --target=sparc64-freebsd to ../src/configure.
[1] http://gcc.gnu.org/install/
HTH
--
Ludovic Brenta.
next prev parent reply other threads:[~2009-08-29 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-29 8:53 compiling for sparc64 Allison Phillips
2009-08-29 14:45 ` Ludovic Brenta [this message]
2009-08-29 14:57 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox