public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* cross compiler build error fro arm
@ 2004-11-17 14:08 aram bharathi
  2004-11-17 18:18 ` Paul Brook
  0 siblings, 1 reply; 2+ messages in thread
From: aram bharathi @ 2004-11-17 14:08 UTC (permalink / raw)
  To: gcc

hi to all
           i configured and build the binutils. after i configure the gcc using

./configure --prefix=/home/obj --target=arm-linux --with-as=/home/obj/bin --with-ld=/home/obj/bin 

but it doesn't identified the cross assembler and loader but assembler and loader are correctly installed in the system. after i build them it shows me two errors they are 

tried to exec /home/obj/bin/but failed <permission denied>
make[1]:  *** [crtbegin.o] Error 1
make : *** [all-gcc] Error 2

what may be the solution
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cross compiler build error fro arm
  2004-11-17 14:08 cross compiler build error fro arm aram bharathi
@ 2004-11-17 18:18 ` Paul Brook
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Brook @ 2004-11-17 18:18 UTC (permalink / raw)
  To: gcc; +Cc: aram bharathi

On Wednesday 17 November 2004 13:54, aram bharathi wrote:
> hi to all
>            i configured and build the binutils. after i configure the gcc
> using
>
> ./configure --prefix=/home/obj --target=arm-linux --with-as=/home/obj/bin
> --with-ld=/home/obj/bin

You should use separate source and build directories for gcc, as described in 
http://gcc.gnu.org/install/configure.html

--with-as and--with-ld need to specify and executable, not a directory.

Paul

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-17 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17 14:08 cross compiler build error fro arm aram bharathi
2004-11-17 18:18 ` Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).