From: Daniel Jacobowitz <dan@debian.org>
To: Sergio Ruiz <quekio@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Linking assembled PIC code with Linux libc library
Date: Sat, 9 Apr 2005 09:49:19 -0400 [thread overview]
Message-ID: <20050409134919.GA4738@nevyn.them.org> (raw)
In-Reply-To: <e02bc66105040905091efb3dc6@mail.gmail.com>
On Sat, Apr 09, 2005 at 02:09:14PM +0200, Sergio Ruiz wrote:
> Hi, i can't link assembled pic code against the libc running my
> embedded-mips-box under debian, and this is what i do:
>
> bluebox@bluebox:~$ as -al -EL -membedded-pic -mips1 -o prueba."o" prueba."s"
PIC != embedded-pic. You shouldn't be using -membedded-pic.
In fact, you shouldn't be using as directly, or ld. Always use GCC to
assemble and link, and it will take care of the options for you.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-04-09 13:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-09 12:09 Linking assembled PIC code with Linux libc library Sergio Ruiz
2005-04-09 13:49 ` Daniel Jacobowitz [this message]
[not found] ` <e02bc661050409113820cceae3@mail.gmail.com>
[not found] ` <20050409215140.GA15253@nevyn.them.org>
[not found] ` <e02bc66105041012091afdf306@mail.gmail.com>
2005-04-10 19:27 ` Sergio Ruiz
2005-04-11 16:09 ` Ralf Baechle
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=20050409134919.GA4738@nevyn.them.org \
--to=dan@debian.org \
--cc=linux-mips@linux-mips.org \
--cc=quekio@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.