* Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5
@ 1997-12-19 6:48 A. J. Rajkumar
1997-12-19 12:34 ` Alexandre Oliva
1997-12-19 13:02 ` Jeffrey A Law
0 siblings, 2 replies; 4+ messages in thread
From: A. J. Rajkumar @ 1997-12-19 6:48 UTC (permalink / raw)
To: egcs
Hi Folks
I am trying to compile egcs-1.0 on a Sun-Sparc-Solaris-2.5
using 'gcc-2.7.2.1'. I am getting an error about a 'f/bad.c' file
missing when it tries to make f77. Is it possible that the 'make'
that I am using is buggy. I am not using the 'GNUmake' but
the 'make' that came with solaris.
How can I turn off compiling the 'fortran compiler'.
Any help will be greatly appreciated
Thanks
Joseph Rajkumar
rajkumar@orionsci.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5
1997-12-19 6:48 Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5 A. J. Rajkumar
@ 1997-12-19 12:34 ` Alexandre Oliva
1997-12-19 13:02 ` Jeffrey A Law
1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 1997-12-19 12:34 UTC (permalink / raw)
To: A. J. Rajkumar; +Cc: egcs
A J Rajkumar writes:
> I am trying to compile egcs-1.0 on a Sun-Sparc-Solaris-2.5
> using 'gcc-2.7.2.1'. I am getting an error about a 'f/bad.c' file
> missing when it tries to make f77. Is it possible that the 'make'
> that I am using is buggy. I am not using the 'GNUmake' but
> the 'make' that came with solaris.
Run `make bootstrap', not just `make' or `make all'
[ Jeff, what if we made bootstrap the default make target, and `make
onestage' the alternate target for those who want a single stage run?
]
> How can I turn off compiling the 'fortran compiler'.
Select the languages/programs you want to build and run:
make LANGUAGES="c c++ proto gcov $whatever$" bootstrap
Instead of this, you may just download egcs-core (which includes C
language support) and egcs-<language> distribution only, instead of
the full egcs-1.0 tarball.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5
1997-12-19 6:48 Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5 A. J. Rajkumar
1997-12-19 12:34 ` Alexandre Oliva
@ 1997-12-19 13:02 ` Jeffrey A Law
1997-12-19 18:00 ` Gerald Pfeifer
1 sibling, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1997-12-19 13:02 UTC (permalink / raw)
To: A. J. Rajkumar; +Cc: egcs
In message < 349A8934.9D860437@orionsci.com >you write:
> I am trying to compile egcs-1.0 on a Sun-Sparc-Solaris-2.5
> using 'gcc-2.7.2.1'. I am getting an error about a 'f/bad.c' file
> missing when it tries to make f77. Is it possible that the 'make'
> that I am using is buggy. I am not using the 'GNUmake' but
> the 'make' that came with solaris.
I suspect you're getting this error because you're not using GNU make
which has better VPATH support than Sun's make.
If you can't use GNU make, then you've got several options to avoid
the Fortran stuff:
1. Remove it from the source tree, then reconfigure & rebuild egcs;
drastic, but effective if you won't want Fortran. However, I suspect
you'll run into more problems of the same nature later.
2. make bootstrap LANGUAGES="c c++" or something simlar, taking care of
leave out "f77" in the LANGUAGES specification. Same potential problem
as #1.
3. configure and build in the source tree. We don't generally recommend
this, but it might be suitable for your situation.
jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5
1997-12-19 13:02 ` Jeffrey A Law
@ 1997-12-19 18:00 ` Gerald Pfeifer
0 siblings, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 1997-12-19 18:00 UTC (permalink / raw)
To: egcs; +Cc: A. J. Rajkumar
On Fri, 19 Dec 1997, Jeffrey A Law wrote:
> I suspect you're getting this error because you're not using GNU make
> which has better VPATH support than Sun's make.
Just for your information, on sparc-sun-solaris2.5.1 with Sun's
/usr/ccs/bin/make (and without GNU make)
./configure -prefix=/sw/swtest/egcs
make bootstrap
works fine for me.
You might want to install GNU make or update your Solaris (If it's really
5.5 that might be a good idea anyway).
Hope this helps,
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] 4+ messages in thread
end of thread, other threads:[~1997-12-19 18:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-19 6:48 Compiling egcs-1.0 on a Sun-Sparc-Solaris-2.5 A. J. Rajkumar
1997-12-19 12:34 ` Alexandre Oliva
1997-12-19 13:02 ` Jeffrey A Law
1997-12-19 18:00 ` Gerald Pfeifer
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).