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

See the CrossGCC FAQ for lots more information.


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: linux->aix3.2 cross compiler



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


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