does CrossGCC support multi-process?

yang tengyong yangtengyong@hotmail.com
Mon Jul 16 19:31:00 GMT 2001


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 .



More information about the Newlib mailing list