problems building AIX 4.3.1 cross-compiler on Linux

Tom Williams tom.williams@diversifiedsoftware.com
Thu Aug 5 17:24:00 GMT 1999


Hi!  I'm following the steps in the crossGCC FAQ.  Here is my configure
line:

configure --prefix=/mnt/disk2/solaris-cross --target=sparc-sun-solaris2.7
--with-headers=~/tomusr/include --with-libs=~/tomusr/lib
--enable-languages=c,c++

~/tomusr is an NFS mount to the /usr filesystem on my SPARCstation.

Then I type this command to make it:

make cross

The error below is generated when the stage1 complier (xgcc) is running.

Peace......

Tom




Alex Smith <alex_s@earthlink.net> on 08/05/99 10:09:37 AM

Please respond to crossgcc@cygnus.com

To:   crossgcc@cygnus.com
cc:    (bcc: Tom Williams/HQ/dssi)
Subject:  Re: problems building AIX 4.3.1 cross-compiler on Linux




On Wed, 04 Aug 1999, you wrote:
> Hi!  I'm trying to build an AIX 4.3.1 on PowerPC cross compiler hosted on
a
> 486 running RedHat Linux 5.1.  I know that sounds strange, but the 486 is
> the only free machine I have to play with.  I was able to build the
> binutils (2.9.1) just fine and now I'm getting this error during stage 2
(I
> think) of the compiler build:
>
> mv tmp-specs specs
> touch stmp-headers
> mv libgcc1.a libgcc1.cross || (echo You must find a way to make
libgcc1.a;
> false)
> mv: libgcc1.a: No such file or directory
> You must find a way to make libgcc1.a
> make[1]: *** [libgcc1.cross] Error 1
> make[1]: Leaving directory `/mnt/disk2/build/gcc-2.95/objdir/gcc'
> make: *** [cross] Error 2
> [tomw@11 objdir]$
>
> I'm using gcc-2.95 and I have made the AIX header and library files
> available to gcc.  I'm also using the gcc-2.95 Linux native compiler to
> build the gcc-2.95 AIX cross compiler.
> If I can get this working, I'm probably going to try to target
> sparc-sun-solaris2.7 as well.
>
> Any ideas?  If gcc can't make libgcc1.a by itself, how can I make it?
>
> Any help would be greatly appreciated!
>
> Peace.......
>
> Tom Williams
> tom.williams@diversifiedsoftware.com
>
>
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.
What steps are you using?
What did you have on your configure line?
what did you type to make?
--
Alex Smith
ESM Software Engineer
Modules Team
Axent Technologies, Inc.
(801) 227-3711
alesmi@axent.com
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.






_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list