public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Where is my GCC?
@ 2003-01-09 23:06 Thomas T. Veldhouse
  2003-01-09 23:15 ` Tony Clark
  2003-01-10 10:44 ` Spider
  0 siblings, 2 replies; 12+ messages in thread
From: Thomas T. Veldhouse @ 2003-01-09 23:06 UTC (permalink / raw
  To: gentoo-dev

I upgraded my system via emerge -u world today.  I am running 1.4 stable.

Now ... GCC is gone?  Where did it go?!   I am not fond of these types of
stealthy changes.

Tom Veldhouse



--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:06 [gentoo-dev] Where is my GCC? Thomas T. Veldhouse
@ 2003-01-09 23:15 ` Tony Clark
  2003-01-09 23:22   ` Thomas T. Veldhouse
  2003-01-10 10:44 ` Spider
  1 sibling, 1 reply; 12+ messages in thread
From: Tony Clark @ 2003-01-09 23:15 UTC (permalink / raw
  To: Thomas T. Veldhouse, gentoo-dev

gcc rebuilt for me.  gcc-3.2.1-rc6 from memory.

tony

On Friday 10 January 2003 00.06, Thomas T. Veldhouse wrote:
> I upgraded my system via emerge -u world today.  I am running 1.4 stable.
>
> Now ... GCC is gone?  Where did it go?!   I am not fond of these types of
> stealthy changes.
>
> Tom Veldhouse

-- 
Contract ASIC and FPGA design.
Telephone
+46 702 894 667

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:15 ` Tony Clark
@ 2003-01-09 23:22   ` Thomas T. Veldhouse
  2003-01-09 23:32     ` Alan
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas T. Veldhouse @ 2003-01-09 23:22 UTC (permalink / raw
  To: Tony Clark, gentoo-dev

Oh -- its there, but not as root -- it is in some obscure path
(/usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc).  Why was it removed from its
traditional location of /usr/bin?

Tom Veldhouse

----- Original Message -----
From: "Tony Clark" <tclark@telia.com>
To: "Thomas T. Veldhouse" <veldy@veldy.net>; <gentoo-dev@gentoo.org>
Sent: Thursday, January 09, 2003 5:15 PM
Subject: Re: [gentoo-dev] Where is my GCC?


gcc rebuilt for me.  gcc-3.2.1-rc6 from memory.

tony

On Friday 10 January 2003 00.06, Thomas T. Veldhouse wrote:
> I upgraded my system via emerge -u world today.  I am running 1.4 stable.
>
> Now ... GCC is gone?  Where did it go?!   I am not fond of these types of
> stealthy changes.
>
> Tom Veldhouse

--
Contract ASIC and FPGA design.
Telephone
+46 702 894 667




--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:22   ` Thomas T. Veldhouse
@ 2003-01-09 23:32     ` Alan
  2003-01-09 23:42       ` Thomas T. Veldhouse
  2003-01-10  0:14       ` Erik Van Reeth
  0 siblings, 2 replies; 12+ messages in thread
From: Alan @ 2003-01-09 23:32 UTC (permalink / raw
  To: gentoo-dev

Have you logged out and logged back in since it was rebuilt?  I Had the
same thing this morning when gcc dissapeared from my path, and an
env-update didn't fix, but just logged out and logged back in and all
was well (*whew*)

alan

On Thu, Jan 09, 2003 at 05:22:47PM -0600, Thomas T. Veldhouse wrote:
> Oh -- its there, but not as root -- it is in some obscure path
> (/usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc).  Why was it removed from its
> traditional location of /usr/bin?
> 
> Tom Veldhouse
> 
> ----- Original Message -----
> From: "Tony Clark" <tclark@telia.com>
> To: "Thomas T. Veldhouse" <veldy@veldy.net>; <gentoo-dev@gentoo.org>
> Sent: Thursday, January 09, 2003 5:15 PM
> Subject: Re: [gentoo-dev] Where is my GCC?
> 
> 
> gcc rebuilt for me.  gcc-3.2.1-rc6 from memory.
> 
> tony
> 
> On Friday 10 January 2003 00.06, Thomas T. Veldhouse wrote:
> > I upgraded my system via emerge -u world today.  I am running 1.4 stable.
> >
> > Now ... GCC is gone?  Where did it go?!   I am not fond of these types of
> > stealthy changes.
> >
> > Tom Veldhouse
> 
> --
> Contract ASIC and FPGA design.
> Telephone
> +46 702 894 667
> 
> 
> 
> 
> --
> gentoo-dev@gentoo.org mailing list

-- 
Alan <alan@ufies.org> - http://arcterex.net
---------------------------------------------------------------------
"The only thing that experience teaches us is that experience teaches 
us nothing.	        -- Andre Maurois (Emile Herzog)

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:32     ` Alan
@ 2003-01-09 23:42       ` Thomas T. Veldhouse
  2003-01-09 23:43         ` Arun Thomas
  2003-01-10  0:03         ` Tony Clark
  2003-01-10  0:14       ` Erik Van Reeth
  1 sibling, 2 replies; 12+ messages in thread
From: Thomas T. Veldhouse @ 2003-01-09 23:42 UTC (permalink / raw
  To: Alan, gentoo-dev

Yes, but not as root.  With root you need to specifically specify the path
each time you invoke the compiler.

[veldy@fuggle veldy]$ gcc --version
gcc (GCC) 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@fuggle veldy]# gcc --version
bash: gcc: command not found


Tom Veldhouse

----- Original Message -----
From: "Alan" <alan@ufies.org>
To: <gentoo-dev@gentoo.org>
Sent: Thursday, January 09, 2003 5:32 PM
Subject: Re: [gentoo-dev] Where is my GCC?


> Have you logged out and logged back in since it was rebuilt?  I Had the
> same thing this morning when gcc dissapeared from my path, and an
> env-update didn't fix, but just logged out and logged back in and all
> was well (*whew*)
>
> alan
>
> On Thu, Jan 09, 2003 at 05:22:47PM -0600, Thomas T. Veldhouse wrote:
> > Oh -- its there, but not as root -- it is in some obscure path
> > (/usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc).  Why was it removed from its
> > traditional location of /usr/bin?
> >
> > Tom Veldhouse
> >
> > ----- Original Message -----
> > From: "Tony Clark" <tclark@telia.com>
> > To: "Thomas T. Veldhouse" <veldy@veldy.net>; <gentoo-dev@gentoo.org>
> > Sent: Thursday, January 09, 2003 5:15 PM
> > Subject: Re: [gentoo-dev] Where is my GCC?
> >
> >
> > gcc rebuilt for me.  gcc-3.2.1-rc6 from memory.
> >
> > tony
> >
> > On Friday 10 January 2003 00.06, Thomas T. Veldhouse wrote:
> > > I upgraded my system via emerge -u world today.  I am running 1.4
stable.
> > >
> > > Now ... GCC is gone?  Where did it go?!   I am not fond of these types
of
> > > stealthy changes.
> > >
> > > Tom Veldhouse
> >
> > --
> > Contract ASIC and FPGA design.
> > Telephone
> > +46 702 894 667
> >
> >
> >
> >
> > --
> > gentoo-dev@gentoo.org mailing list
>
> --
> Alan <alan@ufies.org> - http://arcterex.net
> ---------------------------------------------------------------------
> "The only thing that experience teaches us is that experience teaches
> us nothing.         -- Andre Maurois (Emile Herzog)
>
> --
> gentoo-dev@gentoo.org mailing list
>
>



--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:42       ` Thomas T. Veldhouse
@ 2003-01-09 23:43         ` Arun Thomas
  2003-01-10  1:02           ` Thomas T. Veldhouse
  2003-01-10  0:03         ` Tony Clark
  1 sibling, 1 reply; 12+ messages in thread
From: Arun Thomas @ 2003-01-09 23:43 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

On Thu, 2003-01-09 at 18:42, Thomas T. Veldhouse wrote:
> Yes, but not as root.  With root you need to specifically specify the path
> each time you invoke the compiler.


Did you login as root or did you su to root? I had the same problem when
I'd su to root. I copied /etc/profile to /etc/bashrc, and then bash was
able to find gcc.

The gcc stuff was changed around to allow a user to have multiple gcc
versions installed. Check out gcc-config; it allows you to quickly and
painlessly switch between gcc 2.95 and gcc 3.2 or whatever other
compilers you have installed.

Arun 


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:42       ` Thomas T. Veldhouse
  2003-01-09 23:43         ` Arun Thomas
@ 2003-01-10  0:03         ` Tony Clark
  2003-01-10  0:05           ` Thomas T. Veldhouse
  1 sibling, 1 reply; 12+ messages in thread
From: Tony Clark @ 2003-01-10  0:03 UTC (permalink / raw
  To: Thomas T. Veldhouse, Alan, gentoo-dev

Not here.
tony@media tony $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: /var/tmp/portage/gcc-3.2.1/work/gcc-3.2.1/configure 
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu 
--target=i686-pc-linux-gnu --with-system-zlib 
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix 
--enable-long-long --disable-checking --enable-cstdio=stdio 
--enable-clocale=generic --enable-__cxa_atexit 
--enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local 
--enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.1


On Friday 10 January 2003 00.42, Thomas T. Veldhouse wrote:
> Yes, but not as root.  With root you need to specifically specify the path
> each time you invoke the compiler.
>
> [veldy@fuggle veldy]$ gcc --version
> gcc (GCC) 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> [root@fuggle veldy]# gcc --version
> bash: gcc: command not found
>
>
> Tom Veldhouse
>
> ----- Original Message -----
> From: "Alan" <alan@ufies.org>
> To: <gentoo-dev@gentoo.org>
> Sent: Thursday, January 09, 2003 5:32 PM
> Subject: Re: [gentoo-dev] Where is my GCC?
>
> > Have you logged out and logged back in since it was rebuilt?  I Had the
> > same thing this morning when gcc dissapeared from my path, and an
> > env-update didn't fix, but just logged out and logged back in and all
> > was well (*whew*)
> >
> > alan
> >
> > On Thu, Jan 09, 2003 at 05:22:47PM -0600, Thomas T. Veldhouse wrote:
> > > Oh -- its there, but not as root -- it is in some obscure path
> > > (/usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc).  Why was it removed from its
> > > traditional location of /usr/bin?
> > >
> > > Tom Veldhouse
> > >
> > > ----- Original Message -----
> > > From: "Tony Clark" <tclark@telia.com>
> > > To: "Thomas T. Veldhouse" <veldy@veldy.net>; <gentoo-dev@gentoo.org>
> > > Sent: Thursday, January 09, 2003 5:15 PM
> > > Subject: Re: [gentoo-dev] Where is my GCC?
> > >
> > >
> > > gcc rebuilt for me.  gcc-3.2.1-rc6 from memory.
> > >
> > > tony
> > >
> > > On Friday 10 January 2003 00.06, Thomas T. Veldhouse wrote:
> > > > I upgraded my system via emerge -u world today.  I am running 1.4
>
> stable.
>
> > > > Now ... GCC is gone?  Where did it go?!   I am not fond of these
> > > > types
>
> of
>
> > > > stealthy changes.
> > > >
> > > > Tom Veldhouse
> > >
> > > --
> > > Contract ASIC and FPGA design.
> > > Telephone
> > > +46 702 894 667
> > >
> > >
> > >
> > >
> > > --
> > > gentoo-dev@gentoo.org mailing list
> >
> > --
> > Alan <alan@ufies.org> - http://arcterex.net
> > ---------------------------------------------------------------------
> > "The only thing that experience teaches us is that experience teaches
> > us nothing.         -- Andre Maurois (Emile Herzog)
> >
> > --
> > gentoo-dev@gentoo.org mailing list

-- 
Contract ASIC and FPGA design.
Telephone
+46 702 894 667

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-10  0:03         ` Tony Clark
@ 2003-01-10  0:05           ` Thomas T. Veldhouse
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas T. Veldhouse @ 2003-01-10  0:05 UTC (permalink / raw
  To: Tony Clark, Alan, gentoo-dev

*  sys-devel/gcc-config
      Latest version available: 1.2.7
      Latest version installed: 1.2.7
      Size of downloaded files: 0 kB
      Homepage:    http://www.gentoo.org/
      Description: Utility to change the gcc compiler being used.

*  sys-devel/gcc
      Latest version available: 3.2.1-r6
      Latest version installed: 3.2.1-r6
      Size of downloaded files: 21,271 kB
      Homepage:    http://www.gnu.org/software/gcc/gcc.html
      Description: Modern C/C++ compiler written by the GNU people


How about you?

Tom Veldhouse

----- Original Message -----
From: "Tony Clark" <tclark@telia.com>
To: "Thomas T. Veldhouse" <veldy@veldy.net>; "Alan" <alan@ufies.org>;
<gentoo-dev@gentoo.org>
Sent: Thursday, January 09, 2003 6:03 PM
Subject: Re: [gentoo-dev] Where is my GCC?


Not here.
tony@media tony $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs



--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:32     ` Alan
  2003-01-09 23:42       ` Thomas T. Veldhouse
@ 2003-01-10  0:14       ` Erik Van Reeth
  2003-01-10  0:53         ` Thomas T. Veldhouse
  1 sibling, 1 reply; 12+ messages in thread
From: Erik Van Reeth @ 2003-01-10  0:14 UTC (permalink / raw
  To: Alan, gentoo-dev

On Friday 10 January 2003 00:32, Alan wrote:
> Have you logged out and logged back in since it was rebuilt?  I Had the
> same thing this morning when gcc dissapeared from my path, and an
> env-update didn't fix, but just logged out and logged back in and all
> was well (*whew*)
>
> alan
>

The change came after the existance of 'gcc-config' program.
After running env-update, the ROOTPATH in /etc/profile is updated
to include /usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc but the new
value is not activated yet.
This will done by doing a #source /etc/profile or by logout/login.

The env_update function in portage.py stipulates :
#parse /etc/env.d and generate /etc/profile.env

The env-update script does only a call to the function :
	import portage
	portage.env_update()

Better would be that the env-update script would re-read the /etc/profile.env
file. Bug ?

Greetz
Erik 

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-10  0:14       ` Erik Van Reeth
@ 2003-01-10  0:53         ` Thomas T. Veldhouse
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas T. Veldhouse @ 2003-01-10  0:53 UTC (permalink / raw
  To: Erik Van Reeth, Alan, gentoo-dev

Like I said, it is not in the path for the root user.  Even after a
logout/login with env-update.

Tom Veldhouse

----- Original Message -----
From: "Erik Van Reeth" <erik@vanreeth.org>
To: "Alan" <alan@ufies.org>; <gentoo-dev@gentoo.org>
Sent: Thursday, January 09, 2003 6:14 PM
Subject: Re: [gentoo-dev] Where is my GCC?


> On Friday 10 January 2003 00:32, Alan wrote:
> > Have you logged out and logged back in since it was rebuilt?  I Had the
> > same thing this morning when gcc dissapeared from my path, and an
> > env-update didn't fix, but just logged out and logged back in and all
> > was well (*whew*)
> >
> > alan
> >
>
> The change came after the existance of 'gcc-config' program.
> After running env-update, the ROOTPATH in /etc/profile is updated
> to include /usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc but the new
> value is not activated yet.
> This will done by doing a #source /etc/profile or by logout/login.
>
> The env_update function in portage.py stipulates :
> #parse /etc/env.d and generate /etc/profile.env
>
> The env-update script does only a call to the function :
> import portage
> portage.env_update()
>
> Better would be that the env-update script would re-read the
/etc/profile.env
> file. Bug ?
>
> Greetz
> Erik
>
> --
> gentoo-dev@gentoo.org mailing list
>
>



--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:43         ` Arun Thomas
@ 2003-01-10  1:02           ` Thomas T. Veldhouse
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas T. Veldhouse @ 2003-01-10  1:02 UTC (permalink / raw
  To: Arun Thomas, gentoo-dev

su to root.

That would explain it I guess.  However, in the past, gcc was alway in the
path for a super user login, at /usr/bin.  I can live with this, but I find
it annoying that this sort of change is happening (which is rather major)
just before a release.  I didn't expect a change as major as this to occur
at this point.  I would not have likely upgraded [yet], as I assumed that
everything that changed was likely a bugfix.

Tom Veldhouse

----- Original Message -----
From: "Arun Thomas" <arun@virginia.edu>
To: <gentoo-dev@gentoo.org>
Sent: Thursday, January 09, 2003 5:43 PM
Subject: Re: [gentoo-dev] Where is my GCC?

On Thu, 2003-01-09 at 18:42, Thomas T. Veldhouse wrote:
> Yes, but not as root.  With root you need to specifically specify the path
> each time you invoke the compiler.


Did you login as root or did you su to root? I had the same problem when
I'd su to root. I copied /etc/profile to /etc/bashrc, and then bash was
able to find gcc.

The gcc stuff was changed around to allow a user to have multiple gcc
versions installed. Check out gcc-config; it allows you to quickly and
painlessly switch between gcc 2.95 and gcc 3.2 or whatever other
compilers you have installed.

Arun



--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Where is my GCC?
  2003-01-09 23:06 [gentoo-dev] Where is my GCC? Thomas T. Veldhouse
  2003-01-09 23:15 ` Tony Clark
@ 2003-01-10 10:44 ` Spider
  1 sibling, 0 replies; 12+ messages in thread
From: Spider @ 2003-01-10 10:44 UTC (permalink / raw
  To: gentoo-dev; +Cc: azarah

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

begin  quote
On Thu, 9 Jan 2003 17:06:53 -0600
"Thomas T. Veldhouse" <veldy@veldy.net> wrote:

> I upgraded my system via emerge -u world today.  I am running 1.4
> stable.
> 
> Now ... GCC is gone?  Where did it go?!   I am not fond of these types
> of stealthy changes.
> 
> Tom Veldhouse
> 

I found a problem here too, when updating my old system to the new gcc
colorgcc needs to be updated since it installs a gcc wrapper into
/usr/bin/wrappers/gcc, which in turn will break with gcc and gcc-config

solution: whack colorgcc... might bite users.

//Spider 

 -- have to run, no bug today

--
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-01-10 10:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-09 23:06 [gentoo-dev] Where is my GCC? Thomas T. Veldhouse
2003-01-09 23:15 ` Tony Clark
2003-01-09 23:22   ` Thomas T. Veldhouse
2003-01-09 23:32     ` Alan
2003-01-09 23:42       ` Thomas T. Veldhouse
2003-01-09 23:43         ` Arun Thomas
2003-01-10  1:02           ` Thomas T. Veldhouse
2003-01-10  0:03         ` Tony Clark
2003-01-10  0:05           ` Thomas T. Veldhouse
2003-01-10  0:14       ` Erik Van Reeth
2003-01-10  0:53         ` Thomas T. Veldhouse
2003-01-10 10:44 ` Spider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox