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


On Mon,  1 Mar 2004 21:27:10 +0200
Costinel Mitrea <cmitrea@stecos.ro> wrote:

> 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

try set LIBPATH before run ./hello, the test program should works. 
export LIBPATH=/lib:/usr/lib

-- 
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc

------
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]