From: naga raj <gnuuser.raj@gmail.com>
To: binutils@sourceware.org
Subject: ld: target not found collect2: ld returned 1 exit status
Date: Wed, 04 May 2011 11:14:00 -0000 [thread overview]
Message-ID: <BANLkTin63AaRQdMT-CMDajAzbHKkB-_S8w@mail.gmail.com> (raw)
Hi,
I have ported binutils-2.21.to a embedded target.
For big endian( I made big-endian as default) it is working fine.
But when I use -mlittle-endian flag in compiler it is generating
error as ld: target not found collect2: ld returned 1 exit status.
So in my attempts I have used -c -mlittle-endian flags in compilation
ex: zz-gcc -c -mlittle-endian abc.c
and I linked manually with -EL option then it is working fine.
ex: zz-ld -N -EL abc.o
Can any one please help me in resolving this issue.
Thanks,
Nagaraju
next reply other threads:[~2011-05-04 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 11:14 naga raj [this message]
2011-05-10 16:32 ` Nick Clifton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTin63AaRQdMT-CMDajAzbHKkB-_S8w@mail.gmail.com \
--to=gnuuser.raj@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).