Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.
	Moderators:  cheriff , Herben 
			
		
		
			
				
																			
								ooPo 							 
						Site Admin 			
		Posts:  2023 Joined:  Sat Jan 17, 2004 9:56 amLocation:  Canada
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by ooPo  Fri Mar 12, 2004 6:57 pm 
			
			
			
			
			In ps2netfs, I was getting this error:
iop-gcc -miop -nostdlib -s  -o ps2netfs.irx ps2netfs.o ps2_fio.o devscan.o imports.o
I added a line for memcpy in imports.lst:
sysclib_IMPORTS_startI_memcpy 
I'd update it in cvs myself but I'd rather not step on anyone's toes. :)
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								blackdroid 							 
									
		Posts:  564 Joined:  Sat Jan 17, 2004 10:22 amLocation:  Sweden
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by blackdroid  Fri Mar 12, 2004 7:45 pm 
			
			
			
			
			comit it, thats what cvs is for, you can always go back/change it again.
			
			
									
									Kung VU
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								mrbrown 							 
						Site Admin 			
		Posts:  1537 Joined:  Sat Jan 17, 2004 11:24 am 
		
						
					
						 
													
							
						
									
						Post 
					 
								by mrbrown  Sat Mar 13, 2004 1:11 am 
			
			
			
			
			GCC will try to inline memcpy unless you turn on -fno-builtin or -fno-builtin-memcpy.  However, it seems that the GCC you are using has changed its rules for memcpy inlining, since as bd says iop-gcc 2.8.1 inlined where yours didn't.
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								ooPo 							 
						Site Admin 			
		Posts:  2023 Joined:  Sat Jan 17, 2004 9:56 amLocation:  Canada
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by ooPo  Sat Mar 13, 2004 3:20 am 
			
			
			
			
			I'm not really using a stable toolchain, so I wasn't sure if I would break things by committing the change.
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								blackdroid 							 
									
		Posts:  564 Joined:  Sat Jan 17, 2004 10:22 amLocation:  Sweden
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by blackdroid  Sat Mar 13, 2004 4:22 am 
			
			
			
			
			adding that line does not break the compilation when using older iopgcc..
			
			
									
									Kung VU