HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Trouble untar-ing gcc, unknown filetype
Operating System - Tru64 Unix
        1839868
        Members
    
    
        1979
        Online
    
    
        110156
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 03:08 AM
09-15-2006 03:08 AM
Solution
			
				
					
					
						> Does this really mean I have to 1st build
> gcc v2.x 1st?
I'd say that it means that you need to build
just the (GCC) C compiler first. According
to:
http://gcc.gnu.org/install/configure.html
--enable-languages=lang1,lang2,...
where "lang1,lang2,..." is "c" (or something
like that).
In my last test, I did get it to go using
"CC=cc", and it did use "cc" for a while, but
I didn't save the log, and I can't be sure
that it didn't sneak in some premature use of
the available existing gcc (which I hadn't
discarded).
I mentioned my shell only in case the method
for setting the environment variable would
need to be different elsewhere. (Although I
find that bash has some nice features, so I'd
recommend it, I didn't mean to imply that it
was a requirement. Of course, you must be in
a download frenzy by now, so I should have
been more explicit about that.)
> bash-3.00# CC=cc ../gcc-3.4.6/configure
> -msg_disable=ptrmismatch,ptrmismatch1
That was supposed to be:
CC='cc -msg_disable=ptrmismatch,ptrmismatch1'
../gcc-3.4.6/configure
but the CFLAGS scheme is probably the
official one, anyway.
"3.00"? You and your old versions (again).
My Tru64 system is running VMS today, so I
may be (even) less help than usual for a
while.
		
		
	
	
	
> gcc v2.x 1st?
I'd say that it means that you need to build
just the (GCC) C compiler first. According
to:
http://gcc.gnu.org/install/configure.html
--enable-languages=lang1,lang2,...
where "lang1,lang2,..." is "c" (or something
like that).
In my last test, I did get it to go using
"CC=cc", and it did use "cc" for a while, but
I didn't save the log, and I can't be sure
that it didn't sneak in some premature use of
the available existing gcc (which I hadn't
discarded).
I mentioned my shell only in case the method
for setting the environment variable would
need to be different elsewhere. (Although I
find that bash has some nice features, so I'd
recommend it, I didn't mean to imply that it
was a requirement. Of course, you must be in
a download frenzy by now, so I should have
been more explicit about that.)
> bash-3.00# CC=cc ../gcc-3.4.6/configure
> -msg_disable=ptrmismatch,ptrmismatch1
That was supposed to be:
CC='cc -msg_disable=ptrmismatch,ptrmismatch1'
../gcc-3.4.6/configure
but the CFLAGS scheme is probably the
official one, anyway.
"3.00"? You and your old versions (again).
My Tru64 system is running VMS today, so I
may be (even) less help than usual for a
while.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2006 10:39 AM
09-18-2006 10:39 AM
			
				
					
						
							Re: Trouble untar-ing gcc, unknown filetype
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Steven,
That was it, had to add:
--enable-languages=c++
This made it work. Thanks for all your help with this.
Vic
					
				
			
			
				
		
		
	
	
	
That was it, had to add:
--enable-languages=c++
This made it work. Thanks for all your help with this.
Vic
	There are 10 kinds of people, one that understands binary and one that doesn't.
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2006 10:54 AM
09-18-2006 10:54 AM
			
				
					
						
							Re: Trouble untar-ing gcc, unknown filetype
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Note that once you get through the whole C
compiler build and install procedure, you
should be able to go back and re-do the whole
mess using the new GCC C compiler to build
all the other languages. (Leave out the
"CC=cc", and the "--enable-languages" bits in
the "configure" stuff.)
Now, wasn't that all about as educational as
you could stand?
		
		
	
	
	
compiler build and install procedure, you
should be able to go back and re-do the whole
mess using the new GCC C compiler to build
all the other languages. (Leave out the
"CC=cc", and the "--enable-languages" bits in
the "configure" stuff.)
Now, wasn't that all about as educational as
you could stand?
- « Previous
- 
						- 1
- 2
 
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
