This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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 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


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