Does crossGCC support multi-process?
yang tengyong
yangtengyong@hotmail.com
Wed Jul 18 02:06: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 support 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 `fork'
relocation truncate to fit : R_PPC_REL24 fork
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 .
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list