This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
does CrossGCC support multi-process?
- To: gcc-help at gcc dot gnu dot org
- Subject: does CrossGCC support multi-process?
- From: "yang tengyong" <yangtengyong at hotmail dot com>
- Date: Tue, 17 Jul 2001 03:17:30 -0000
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.