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] |
Hello there, I have a small problem that i can't seem to solve. We have a HPUX machine and we would like to port the wonderful GCC to this machine, because it can optimise C/C++ much better than the native compiler can. The system we use is a HP 9000 712/80 (pa-risc1.1, if i'm not mistaken) with HP UX 10.20P. And i would like to make the gcc on my Intel linux machine, so i only have to transfer the binaries to the HPUX machine. I know this is not the easiest way, because i have to make a crosscompiler that outputs code for the hp9k712 and then recompile the gcc-source with this crosscompiler to get the binaries. (i think this is called canadian cross, right?) It would also be nice if i could just make binaries for hp9k712 on my linux machine and then just transfer the executables to be run on the target. (would only involve making the crosscompiler for hpux) Now on with the problem : when i do "configure ....." it starts already with displaying an error message "ld not supported with this configuration (other directories should be fine)". I guess this is because the linker is sort of property of HP and they did not grant permission for other compilers to make binaries for their machines. (please correct me if i am wrong. I am simply guessing here). I thought "no problem, i just make the object files on my linux pc and then link them on the hp." (i hope this is possible), but then the following error appeared: /home/jan/src/hpbinutils> ../binutils-2.9.5.0.24/configure --target=hp9k712 configuration not supported in following directories: "ld" (other directories should be fine) [lots of messages appear] /home/jan/src/hpbinutils> make [lots of messages appear] gcc -g -O2 -W -Wall -o size size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl ../bfd/.libs/libbfd.a(targets.o): In function 'find_target': /home/jan/src/hpbinutils/bfd/../../binutils-2.9.5.0.24/bfd/targets.c:955: undefined reference to som_vec /home/jan/src/hpbinutils/bfd/../../binutils-2.9.5.0.24/bfd/targets.c:955: undefined reference to som_vec collect2: ld returned 1 exit status What do you think i am doing wrong ? i made a m68k crossgcc successfully, following the steps described here: http://sources.redhat.com/ml/crossgcc/2000-q2/msg00195.html i am now trying to follow the same steps to make the hpux crossgcc. Thanks in advance for any help. Jan ------ 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] |