Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 16:29:58 -0600 (CST)
From:      keichii@please.code.i18n.bsdconspiracy.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17585: ports/lang/gcc-devel Makefile change request
Message-ID:  <200003242229.QAA00445@cs2728-183.austin.rr.com>

next in thread | raw e-mail | index | archive | help

>Number:         17585
>Category:       ports
>Synopsis:       Outputs small message for user of lang/gcc-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 14:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Chin-Yuan Wu
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
University of Texas at Austin-Electrical Engineering
>Environment:

	FreeBSD cs2728-183.austin.rr.com 
	5.0-CURRENT FreeBSD 5.0-CURRENT 
	#1: Fri Mar 24 14:47:45 CST 2000     
	keichii@cs2728-183.austin.rr.com:/usr/src/sys/compile/KEICHII.SMP  i386

>Description:

	This patches ports/lang/gcc-devel/Makefile to output a small how-to
	telling the user to change the CC envirnmental flag.

>How-To-Repeat:

>Fix:

The sequence of the output can be changed, as the fix is only the 
part with @${ECHO} lines.  If the maintainer don't feel that any aspect
of it is fitting, please feel free to change.

===================================================
*** Makefile    Fri Mar 24 15:42:58 2000
--- Makefile.new        Fri Mar 24 15:42:03 2000
***************
*** 110,115 ****
--- 110,127 ----
        ${MV} -f ${PREFIX}/lib/libstdc++.so*  \
                ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
  .endif
+         @${ECHO} "*********************************************************"
+         @${ECHO} "* In order to use gcc-devel as your compiler, you must  *"
+         @${ECHO} "* set the enviromental variables CC to                  *"
+         @${ECHO} "* /usr/local/bin/egcc in either /etc/make.conf or the   *"
+         @$(ECHO) "* user's shell config file,                             *"
+         @${ECHO} "* For sh/bash derivatives, put these lines into the     *"
+         @${ECHO} "* configuration file:                                   *"
+         @${ECHO} "* CC=/usr/local/bin/egcc; export CC                     *"
+         @${ECHO} "* For csh/tcsh derivatives:                             *"
+         @${ECHO} "* setenv CC '/usr/local/bin/gcc295'                     *"
+         @${ECHO} "* You may also pass the CC flag as a variable to make   *"
+         @${ECHO} "*********************************************************"
  .for info in cpp g77 gcc
        install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
  .endfor
=========================================================

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003242229.QAA00445>