unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19733: disfunctional gcc binary when GCJ or gfortran is installed
@ 2015-01-30 16:30 Ricardo Wurmus
  2015-10-13  9:44 ` Ricardo Wurmus
  2016-03-10  6:29 ` Ricardo Wurmus
  0 siblings, 2 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2015-01-30 16:30 UTC (permalink / raw)
  To: 19733

Hi Guix,

installing the gcj or the gfortran package, my profile's /bin directory
gets a gcc link.  If I use Guix as a package manager on top of another
system that has a working installation of the GNU C compiler and my
profile bin path has preference to all other items in PATH, then I end
up with a disfunctional gcc binary.

gcj as well as gfortran come with a couple of binaries (gcc, gcc-ar,
etc) that do not constitute a working C compiler.  Trying to build an
application with

   ./configure
   make
   sudo make install

"configure" complains about gcc not being able to compile C code.

Other distributions seem to remove common binaries like gcc, gcc-ar, etc
from their gfortran packages and it seems that we should too in order to
avoid conflicts.  It seems that neither gfortran nor gcj actually need
these binaries to function.

Should we add another phase to the definitions of "custom-gcc" and "gcj"
to remove these binaries?

~~ Ricardo

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

end of thread, other threads:[~2016-03-10  6:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30 16:30 bug#19733: disfunctional gcc binary when GCJ or gfortran is installed Ricardo Wurmus
2015-10-13  9:44 ` Ricardo Wurmus
2015-10-13 14:22   ` Ludovic Courtès
2015-12-19 17:52     ` Ludovic Courtès
2015-12-21 15:38       ` Ricardo Wurmus
2015-12-21 21:30         ` Ludovic Courtès
2016-03-10  6:29 ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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