| To: | Sergio Ruiz <quekio@gmail.com> |
|---|---|
| Subject: | Re: Linking assembled PIC code with Linux libc library |
| From: | Daniel Jacobowitz <dan@debian.org> |
| Date: | Sat, 9 Apr 2005 09:49:19 -0400 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <e02bc66105040905091efb3dc6@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <e02bc66105040905091efb3dc6@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.8i |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Linking assembled PIC code with Linux libc library, Sergio Ruiz |
|---|---|
| Next by Date: | problems compiling prog. for mipsel platform, Pratik Patel |
| Previous by Thread: | Linking assembled PIC code with Linux libc library, Sergio Ruiz |
| Next by Thread: | Re: Linking assembled PIC code with Linux libc library, Sergio Ruiz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |