public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* 2.95.2 arm-elf-gcc and -msingle-pic-base
@ 2000-11-14 13:42 Dan Hovang
  2000-11-14 14:28 ` Philip Blundell
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Hovang @ 2000-11-14 13:42 UTC (permalink / raw)
  To: gcc

Hello,

When browsing the GCC manual one finds two nice ARM options:
-msingle-pic-base and -mpic-register=<reg>. When I tried to use
theese on my 2.95.2 arm-elf-gcc I got "invalid option" errors.

I looked in the sourcecode (config/arm/arm.c) and found no such
options. On the site I found a post from last summer containing a
patch adding theese options:

http://gcc.gnu.org/ml/gcc-patches/1999-07n/msg00573.html

I just wonder why theese options are missing in the main sources.
Is it the documentation that is wrong? Would it be feasible to add
the above patch to my compiler to make it work?

Best regards,
 Dan Hovang

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

* Re: 2.95.2 arm-elf-gcc and -msingle-pic-base
  2000-11-14 13:42 2.95.2 arm-elf-gcc and -msingle-pic-base Dan Hovang
@ 2000-11-14 14:28 ` Philip Blundell
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Blundell @ 2000-11-14 14:28 UTC (permalink / raw)
  To: Dan Hovang; +Cc: gcc

>When browsing the GCC manual one finds two nice ARM options:
>-msingle-pic-base and -mpic-register=<reg>. When I tried to use
>theese on my 2.95.2 arm-elf-gcc I got "invalid option" errors.

2.95.2 is just too old.  If you use a snapshot (or wait for GCC 3.0) these 
will be supported.

>Is it the documentation that is wrong? Would it be feasible to add
>the above patch to my compiler to make it work?

I don't see why not.

p.


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

end of thread, other threads:[~2000-11-14 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-14 13:42 2.95.2 arm-elf-gcc and -msingle-pic-base Dan Hovang
2000-11-14 14:28 ` Philip Blundell

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