public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-1.1b and gld/gas build problems on Solaris
@ 1998-10-13 16:41 Marat Boshernitsan
  1998-10-14  6:09 ` Gerald Pfeifer
  1998-10-14  6:09 ` Mark Phillips
  0 siblings, 2 replies; 6+ messages in thread
From: Marat Boshernitsan @ 1998-10-13 16:41 UTC (permalink / raw)
  To: egcs

Hi,

I can't figure out how to force egcs to use gld/gas on Solaris.
Granted, gld/gas are not installed in the usual place (under
$egcs-prefix/sparc-sun-solaris2.6/bin), but they are in the path, and I
even tried making them symlinks to as and ld that are found before
/usr/ccs/bin.  

Oh, and, of course, I am configuring with

configure --prefix=/usr/misc --enable-shared --with-gnu-as --with-gnu-ld

Any suggestions?

Thanks,

Marat.

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

* Re: egcs-1.1b and gld/gas build problems on Solaris
  1998-10-13 16:41 egcs-1.1b and gld/gas build problems on Solaris Marat Boshernitsan
@ 1998-10-14  6:09 ` Gerald Pfeifer
  1998-10-14  6:09   ` Marat Boshernitsan
  1998-10-14  6:09 ` Mark Phillips
  1 sibling, 1 reply; 6+ messages in thread
From: Gerald Pfeifer @ 1998-10-14  6:09 UTC (permalink / raw)
  To: Marat Boshernitsan; +Cc: egcs

On 13 Oct 1998, Marat Boshernitsan wrote:
> I can't figure out how to force egcs to use gld/gas on Solaris.
> Granted, gld/gas are not installed in the usual place (under
> $egcs-prefix/sparc-sun-solaris2.6/bin)

http://egcs.cygnus.com/faq.html#gas

Please let us know if this does not work for you. Clearly any suggestions
for improving this FAQ entry are welcome! :-)

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


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

* Re: egcs-1.1b and gld/gas build problems on Solaris
  1998-10-14  6:09 ` Gerald Pfeifer
@ 1998-10-14  6:09   ` Marat Boshernitsan
  1998-10-15 21:35     ` Gerald Pfeifer
  0 siblings, 1 reply; 6+ messages in thread
From: Marat Boshernitsan @ 1998-10-14  6:09 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: egcs

Ok, that worked, thanks.  I did look at the FAQ, but missed this entry
because I was looking for gld-related info (since that's where my gcc
was dying).  May I suggest that this FAQ entry be rephrased somewhat
along these lines:

    GCC can not find GAS/GLD

    If GCC was configured to use GNU assembler (--with-gnu-as) and/or GNU
    linker (--with-gnu-ld), you need to ensure that EGCS finds them. 

    One way to do that is to configure the GNU assembler/linker with the
    same --prefix option as you used for EGCS. Then build & install the GNU
    assembler. After the GNU assembler has been installed,proceed with
    building EGCS.

    Another alternative is to create links to GNU as and ld in any of the
    directories printed by the command `gcc -print-search-dirs | grep
    '^programs:''. The link to `ld' should be named `real-ld' if `ld'
    already exists.

Thanks again,

Marat.



Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> On 13 Oct 1998, Marat Boshernitsan wrote:
> > I can't figure out how to force egcs to use gld/gas on Solaris.
> > Granted, gld/gas are not installed in the usual place (under
> > $egcs-prefix/sparc-sun-solaris2.6/bin)
> 
> http://egcs.cygnus.com/faq.html#gas
> 
> Please let us know if this does not work for you. Clearly any suggestions
> for improving this FAQ entry are welcome! :-)
> 
> Gerald
> -- 
> Gerald Pfeifer (Jerry)      Vienna University of Technology
> pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/

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

* Re: egcs-1.1b and gld/gas build problems on Solaris
  1998-10-13 16:41 egcs-1.1b and gld/gas build problems on Solaris Marat Boshernitsan
  1998-10-14  6:09 ` Gerald Pfeifer
@ 1998-10-14  6:09 ` Mark Phillips
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Phillips @ 1998-10-14  6:09 UTC (permalink / raw)
  To: Marat Boshernitsan; +Cc: egcs

You could try putting symlinks called real-ld and as in
$egcs-prefix/sparc-sun-solaris2.6/bin
that MAY work.

On 13 Oct 1998, Marat Boshernitsan
wrote:

> 
> Hi,
> 
> I can't figure out how to force egcs to use gld/gas on Solaris.
> Granted, gld/gas are not installed in the usual place (under
> $egcs-prefix/sparc-sun-solaris2.6/bin), but they are in the path, and I
> even tried making them symlinks to as and ld that are found before
> /usr/ccs/bin.  
> 
> Oh, and, of course, I am configuring with
> 
> configure --prefix=/usr/misc --enable-shared --with-gnu-as --with-gnu-ld
> 
> Any suggestions?
> 
> Thanks,
> 
> Marat.
> 

-- 
Mark S. Phillips        ESN 742 2461
msp@nortel.co.uk        Tel. +44 1279 402461


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

* Re: egcs-1.1b and gld/gas build problems on Solaris
  1998-10-14  6:09   ` Marat Boshernitsan
@ 1998-10-15 21:35     ` Gerald Pfeifer
  0 siblings, 0 replies; 6+ messages in thread
From: Gerald Pfeifer @ 1998-10-15 21:35 UTC (permalink / raw)
  To: Marat Boshernitsan; +Cc: egcs, egcs-patches

On 14 Oct 1998, Marat Boshernitsan wrote:
> Ok, that worked, thanks.  I did look at the FAQ, but missed this entry
> because I was looking for gld-related info (since that's where my gcc
> was dying).

Good point!

> May I suggest that this FAQ entry be rephrased somewhat along these
> lines:

Thanks for your hint. I have just installed the following update to our
FAQ. Would that have helped you in your original search?

(Clearly any further hints about the FAQ are most welcome!)

Gerald

Index: faq.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/faq.html,v
retrieving revision 1.59
diff -r1.59 faq.html
28c28
<   <li><a href="#gas">GCC can not find GAS</a>
---
>   <li><a href="#gas">GCC can not find GNU as/GNU ld</a>
471c471
< <h2><a name="gas">GCC can not find GAS</a></h2>
---
> <h2><a name="gas">GCC can not find GNU as/GNU ld</a></h2>
473,476c473,476
< assembler instead of the system assembler.  To ensure that EGCS finds the GNU
< assembler, you should configure the GNU assembler with the same --prefix
< option as you used for EGCS.  Then build & install the GNU assembler.  After
< the GNU assembler has been installed, proceed with building EGCS.
---
> assembler instead of the system assembler. To ensure that EGCS finds the GNU
> assembler (the GNU loader), you should configure these with the same --prefix
> option as you used for EGCS.  Then build & install GNU as (GNU ld) and
> proceed with building EGCS.


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

* Re: egcs-1.1b and gld/gas build problems on Solaris
@ 1998-10-14  6:09 N8TM
  0 siblings, 0 replies; 6+ messages in thread
From: N8TM @ 1998-10-14  6:09 UTC (permalink / raw)
  To: maratb, egcs

In a message dated 10/14/98 2:16:00 AM Pacific Daylight Time,
maratb@cs.berkeley.edu writes:

> I can't figure out how to force egcs to use gld/gas on Solaris.
>  
If you're using the 19981005 snapshot, they broke the old scheme
unintentionally.  Use the -with-ld=<full path> and --with-as=<full path>

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

end of thread, other threads:[~1998-10-15 21:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-13 16:41 egcs-1.1b and gld/gas build problems on Solaris Marat Boshernitsan
1998-10-14  6:09 ` Gerald Pfeifer
1998-10-14  6:09   ` Marat Boshernitsan
1998-10-15 21:35     ` Gerald Pfeifer
1998-10-14  6:09 ` Mark Phillips
1998-10-14  6:09 N8TM

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