This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

aix432 -> aix415 cross compiler


I am trying to build an aix432 -> aix415 cross compiler.

The cross compiler appears to work, but the cross linker doesn't.  I
think this is the case because I can build all my .o files with the
cross-compiler and link them on the target machine and the resulting
binary runs fine.

But if I build .o files with the cross-compiler and try to link with
the cross-linker either the binary won't link (when -s is used) or the
resulting binary won't run (see below).

Here are the symptoms:

- linking program on aix432 box for aix415 with    -s option fails
- linking program on aix415 box for aix415 with    -s option wins

- linking program on aix432 box for aix415 without -s option, and then
  running cross-strip (on aix432) on the resulting binary completes.
  But then when I try to run the binary on the target machine
  (aix415), I get the following error:

Could not load program ./rcgo 
Could not load library libc.a[shr.o]
Error was: No such file or directory


Has anybody seen this error before?
Any ideas how to fix it?

The aix432 box is an f50 and the aix415 box is a powerpc if that
helps.

-- 

    ...Tyler
_______________________________________________
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.