linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Mark Hatle <fray@mvista.com>
To: srinivas pulipati <srinivasp@multitech.co.in>
Cc: Embedded Linux PPC List <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: how to cross complile helloworld.c
Date: Tue, 11 Dec 2001 10:10:10 -0600	[thread overview]
Message-ID: <3C162FE2.2D26113E@mvista.com> (raw)
In-Reply-To: 3C15FD95.5F348883@multitech.co.in


srinivas pulipati wrote:
>
> hi,
>
> i have compiled glibc for powerpc-linux.
> when i try to compile a sample file helloworld.c
> it is saying undefined  reference to printf.
> looks like it is not taking proper library.
>
> can anyone help me?
>
> thanks
> srinivas
>

After compiling glibc, did you rebuild you compiler set?  Without doing
a recompile gcc is still going to use newlib and will have no knowledge
of the installed glibc.

--Mark

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-12-11 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11 12:35 how to cross complile helloworld.c srinivas pulipati
2001-12-11 16:10 ` Mark Hatle [this message]
2001-12-12 12:58   ` srinivas pulipati

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=3C162FE2.2D26113E@mvista.com \
    --to=fray@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=srinivasp@multitech.co.in \
    /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 NNTP newsgroup(s).