This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1.1 cross: i586-lynxos-gas says "Alignment not a power of 2"
- To: Alexander Zhuckov <zuav at int dot spb dot ru>
- Subject: Re: egcs-1.1.1 cross: i586-lynxos-gas says "Alignment not a power of 2"
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 22 Jan 1999 00:03:53 -0700
- cc: "Oliver M. Kellogg" <Oliver dot Kellogg at vs dot dasa dot de>, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <873e54ak7k.fsf@ithilien.int.spb.ru>you write:
> Just cp ..../i586-lynxos/bin{as,ld} ..../src/egcs-1.1.1-build/gcc
> At least, this worked for me.
>
> If you look at gcc/configure, you'll see that it incorrectly
> chooses assembler. Look at line 5251 and below.
>
> It seems to me that gcc/configure will works there correctly
> only for native build or for one-tree-build. Or one must
> have correct assembler in the current dir -- that is in
> gcc dir.
The configure script searches a variety of places to try and find a suitable
assembler.
It prefers the assembler in the current directory, but should fall back to
whatever "as" shows up in your path.
jeff