Egcs 1.0 on HPPA still does not work with long offsets...
Fons Rademakers
Fons.Rademakers@cern.ch
Thu Dec 11 08:09:00 GMT 1997
Sorry will send bug to egcs-bugs in the future.
In the mean time, how am I supposed to use the -m options. Both for
-mlong-calls (described in man page)
-mbig-switch (not described)
I get the message:
cc1plus: Invalid option `big-switch'. Is it a link only option?
The file in question that generates the problem does not contain a
big switch. However, the file is fairly big (10000 loc), generated
by a code generator (links on all known Unix platforms with g++
without problems, needs +Z with native HP compiler).
Thanks for any help.
Cheers, Fons.
Jeffrey A Law wrote:
>
> In message <349004FE.7142C1E2@cern.ch>you write:
> > Hi Jeff,
> Please send this stuff to egcs-bugs, not to individuals.
>
> > I managed to compile and install egcs 1.0 on my HP K890 (10.20).
> > However, one of the reason for trying to use egcs instead of gcc 2.7.x.x
> > is that I had a problem when linking large -fPIC object files in a
> > shared lib. I got (gcc2) and still get (egcs) the following errors during
> > linking:
> >
> > /usr/ccs/bin/ld: Target of unconditional branch is out of range
> > Reference from: /user/rdm/rootg/src/TREE_G__Tree.o(0x563d0)
> Does TREE_G__Tree.[cC] have a huge switch statement? You might try
> -mbig-switch.
>
> jeff
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
More information about the Gcc-bugs
mailing list