This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

does CrossGCC support multi-process?


Hello, Dear sir 

I built a CrossGCC for my destination PowerPC platform with 
binutils-2.11.2, gcc-3.0, newlib-1.9.0 and gdb-5.0(configure parameters 
are: --target=powerpc-elf --prefix=/opt/gcc --with-newlib 
--enable-threads=posix -v).  but it seemed that the newly made compiler did 

not  multi-process. I encountered the following errors when I tried to 
compile a file with `fork',`pipe'and other functuins in it: 
       undefined reference to `pipe' 
       relocation truncate to fit : R_PPC_REL24 pipe 
       undefined reference to `pipe' 
       relocation truncate to fit : R_PPC_REL24 pipe 
       ... ... 
       ld returned 1 exit status 

my commandline is: /opt/gcc/bin/powerpc-elf-gcc test_pipe.c -o test2 
-mpowerpc -msim -mnewlib 

how to overcome  these errors? any suggestion? 

thanks in advance 

yang tengyong 


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]