linux->aix3.2 cross compiler
Nathan Kidd
nathan@hummingbird.com
Mon Mar 1 20:44:00 GMT 2004
Costinel Mitrea wrote:
> Hi,
>
> I tried to build a linux->aix3.2 cross compiler
> The compiler seems to be build successfuly. I tried to compile a simple "Hello
> world" program using the cross-compiler to check if it works, The result was:
>
> Could not load hello.
> Could not load library libc.a [shr.o].
> Error was no such file or directory
>
> Could anyone tell me what I did wrong? Or is there something that still needs
> to be done?
Last year I tried something similar going from cygwin -> AIX 4.2 and
also was stopped at the same place. I didn't have time to continue, but
I think the solution is to include an explicit -rpath to the linker so
it explicitly looks in /lib (or /usr/lib?) to find libc.a.
-Nathan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list