[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem while crosscompiling ncurses with arc

From: Thomas Dickey
Subject: Re: problem while crosscompiling ncurses with arc
Date: Tue, 9 Aug 2005 20:08:37 -0400 (EDT)

On Mon, 8 Aug 2005, varidh bhargava wrote:

we are passing BUILD_CC option as gcc. So the file make_hash and make_key which are made with the help of gcc. These files contains crt0.o (file which is needed for finding start symbol) which is by default of host system, so when arc-gcc is trying to find the __start symbol it is taking this crtn0.o of host gcc. So it might be giving this error, as arc-gcc should use the crtn0.o, made during the cross compilatiion od arc.

make_hash and make_key should be compiled and linked using the native
compiler - the compiler that builds executables that run on the machine
where you are compiling.

Am i right or wrong. pls clear my doubts, if this is wrong what can be the 
error and if this is right then what changes i
need to make..

Also i wana ask that is it necessary that for making make_hash and make_key we need HOSTCC.

no - it was originally HOSTCC, but that name was confusing since the autoconf people decided that "HOST" means the target of the cross-compile,
rather than the host on which one is compiling.

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]