public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [Fwd: [ECOS] Linking an application]
@ 2001-03-20  5:50 Jonathan Larmour
  2001-03-20 10:15 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Larmour @ 2001-03-20  5:50 UTC (permalink / raw)
  To: eCos discussion

This was sent to me direct - please don't do that.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


To : "'Jonathan Larmour'" <jlarmour at redhat dot com>
Subject : RE: [ECOS] Linking an application
From : Usha Sree I <ushasree at danlawinc dot com>
Date : Tue, 20 Mar 2001 10:15:50 +0530

Sir, 
    As per your reply I used the latest sources. But the same problem. Could
we think any problem with the HAL package. Please reply soon.
Thank you,
Ushasree.

-----Original Message-----
From: Jonathan Larmour [ mailto:jlarmour@redhat.com ]
Sent: Tuesday, March 13, 2001 5:48 PM
To: Usha Sree I
Cc: 'ecos-discuss@sourceware.cygnus.com'
Subject: Re: [ECOS] Linking an application


Usha Sree I wrote:
> 
> > Sir,
> > I am trying to compile and link an eCos application named hello.c. I had
> > installed for Linux Synthetic Target. It has been compiled properly.
> > But my link command fails with the following message.
> > l# gcc -g -I/home/username/linuxbuild/include hello.c
> > -L/home/username/linuxbuild/lib -Ttarget.ls -nostdlib
> >
> >  /tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld:target.ld:161:parse
> > error
> > collect2: ld returned 1 exit status

Is /tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld built from a recent
binutils such as version 2.10? Use
"/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld --version" to find out
for sure.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* Re: [ECOS] [Fwd: [ECOS] Linking an application]
  2001-03-20  5:50 [ECOS] [Fwd: [ECOS] Linking an application] Jonathan Larmour
@ 2001-03-20 10:15 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-03-20 10:15 UTC (permalink / raw)
  To: eCos discussion, Usha Sree I

Jonathan Larmour wrote:
>     As per your reply I used the latest sources. But the same problem. Could
> we think any problem with the HAL package. Please reply soon.

Was this tree generated on Linux? If it was generated on Windows it could
be a CRLF problem in target.ld.

Did "/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld --version"
actually explicitly tell you it was version 2.10?

If you do a "make tests" in the eCos build directory, does that link
successfully?

Btw, reply to the list, not to me directly.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

end of thread, other threads:[~2001-03-20 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-20  5:50 [ECOS] [Fwd: [ECOS] Linking an application] Jonathan Larmour
2001-03-20 10:15 ` Jonathan Larmour

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).