HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - gcc on HPUX 10.20
 
Operating System - HP-UX
        1840126
        Members
    
    
        4655
        Online
    
    
        110161
        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
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
 
02-23-2000 12:07 AM
02-23-2000 12:07 AM
			
				
					
						
							gcc on HPUX 10.20
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I am working on a HP Model 712/60, PA-RISC Powered, system with a gcc compiler 
(v2.7) installed. I am running a makefile to perform compililation and linking
of files. When I try to run the makefile and compile I receive the following
message:
gcc -O3 -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN -c file1.c
gcc -O3 -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN -c file2.c
as: "/var/tmp/cca09674.s", line 67: error 1052: Directive name not recognized -
PARAM
as: "/var/tmp/cca09674.s", line 269: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 359: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 760: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 930: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1223: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1492: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1610: error 1052: Directive name not recognized
- PARAM
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
In the interest of confidetially I have changed the file names in this message
to file1 and file2. There are more files needed for compilation, but the error
occurs at this point at every compilation.
File1 doesn't contain any #include or #ifdef directives within the program; but
file2 does contain these files and only contains approximately 1300 lines of
code. In the makefile, the "-D" DEFINITIONS for HPUX platform for the gcc
compiler are as follows:
## HP Risc
HP= $(DEBUGGING) -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN
# (for extended file systems)-D_FILE_OFFSET_BITS=64 -D__STDC_EXT__
Any suggestions on what my problem is???
		
		
	
	
	
(v2.7) installed. I am running a makefile to perform compililation and linking
of files. When I try to run the makefile and compile I receive the following
message:
gcc -O3 -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN -c file1.c
gcc -O3 -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN -c file2.c
as: "/var/tmp/cca09674.s", line 67: error 1052: Directive name not recognized -
PARAM
as: "/var/tmp/cca09674.s", line 269: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 359: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 760: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 930: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1223: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1492: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1610: error 1052: Directive name not recognized
- PARAM
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
In the interest of confidetially I have changed the file names in this message
to file1 and file2. There are more files needed for compilation, but the error
occurs at this point at every compilation.
File1 doesn't contain any #include or #ifdef directives within the program; but
file2 does contain these files and only contains approximately 1300 lines of
code. In the makefile, the "-D" DEFINITIONS for HPUX platform for the gcc
compiler are as follows:
## HP Risc
HP= $(DEBUGGING) -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN
# (for extended file systems)-D_FILE_OFFSET_BITS=64 -D__STDC_EXT__
Any suggestions on what my problem is???
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-21-2000 03:16 AM
05-21-2000 03:16 AM
			
				
					
						
							Re: gcc on HPUX 10.20
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						It seems you either don't have or your path is wrong for the package "binutils"
Gcc (at least v.2.95.2 depends on it)
Here is a link to the thing :)
http://hpux.cs.utah.edu/hppd/hpux/Gnu/binutils-2.9.1/
/kjell
		
		
	
	
	
Gcc (at least v.2.95.2 depends on it)
Here is a link to the thing :)
http://hpux.cs.utah.edu/hppd/hpux/Gnu/binutils-2.9.1/
/kjell
	Well now I have a PA-RISC as well
			
			
				
			
			
			
			
			
			
		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