Hi all,
Good morning,

I am trying to configure gdbserver for ARM-Linux, for this I done following
steps,


$ tar –xvzf gdb-6.3.gz

$ cd gdb-6.3

$ ./configure --host=i386-linux --target=arm-linux --build=i386-linux "

$ make


This gives me no compilation error, The next step is for building gdbserver,
here I execute following commands,

    $ cd gdb-6.3/gdb/gdbserver

    $ export CC=arm-linux-gcc

    $ export LD=arm-linux-ld

    $ ./configure --target=arm-linux

    $ make

-- I get follwing error,

checking for i686-pc-linux-gnu-gcc... /usr/local/bin/arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-libiberty] Error 1


I am not getting this error, as host for gdbserver will be arm-linux-gcc?

please share your views.

------------------------------------

==============================================================
  (2nd Saturday) Technical Meetups, Hackathons, Workshops, BoFs 
  
  Special Events on 4th Saturday of every month.

  Events  : http://events.twincling.org/
  Photos  : http://photos.twincling.org/
  Blog    : http://blogs.twincling.org/
  Website : http://www.twincling.org/

  TWINCLING Society
  Registered "not for profit" Open Source promotion organization
  Hyderabad, Andhra Pradesh, India.
==============================================================
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/twincling/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/twincling/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to