This is the mail archive of the gcc-patches@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]

Re: committed: updated Ada build instructions


Arnaud Charlet <charlet@ACT-Europe.FR> writes:

>> Ok, I just tried it out with a ia64->mips cross.  make gnatlib doesn't
>> work because it wants to use ../../xgcc which obviously cannot be run.
>> But make cross-gnattools works ok.  So for canadian cross you just run
>> make cross-gnattools and use the gnat libs from the cross compiler.
>> ada.all.cross is useless for canadian cross since the gnat tools aren't
>> cross tools, so they should not be renamed.
>
> Thanks for checking. Do you mind updating the documentation accordingly ?
> As I said I have no experience with canadian cross, so I'd rather not
> do it myself.

How about this:

2003-10-29  Andreas Schwab  <schwab@suse.de>

	* doc/install.texi (Building): Add a sentence about building Ada
	for a canadian cross.

--- gcc/doc/install.texi.~1.231.~	2003-10-28 09:46:12.000000000 +0100
+++ gcc/doc/install.texi	2003-10-29 11:02:03.000000000 +0100
@@ -1394,7 +1394,9 @@ by @samp{make bootstrap}.  For a native 
 @samp{make gnatlib_and_tools} in the @file{@var{objdir}/gcc}
 subdirectory before proceeding with the next steps.
 For a cross build, you need to invoke
-@samp{make gnatlib cross-gnattools ada.all.cross}.
+@samp{make gnatlib cross-gnattools ada.all.cross}.  For a canadian
+cross you only need to invoke @samp{make cross-gnattools}; the GNAT
+library would be the same as the one built for the cross compiler.
 
 For example, you can build a native Ada compiler by issuing the
 following commands (assuming @command{make} is GNU make):

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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