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] |
Other format: | [Raw text] |
I'm attempting to build an arm-elf cross-compiler with GCC 3.0.4 under HP-UX 11.00. I've built binutils and a bootstrap gcc as follows: $ gzip -dc binutils-2.11.2.tar.gz | tar xf - $ cd binutils-2.11.2 $ ./configure --target=arm-elf --prefix=/tmp/armgcc $ gmake $ gmake install $ gzip -dc gcc-3.0.4.tar.gz | tar xf - $ cd gcc-3.0.4 $ mkdir objdir $ cd objdir $ PATH=$PATH:/tmp/armgcc/arm-elf/bin CC=/opt/TWWfsw/gcc304/bin/gcc \ ../configure --with-gnu-as --with-gnu-ld \ --with-included-gettext --target=arm-elf --with-newlib \ --enable-languages=c --prefix=/tmp/armgcc \ --with-local-prefix=/tmp/armgcc $ gmake all-gcc install-gcc When trying to build newlib 1.9.0: $ gzip -dc newlib-1.9.0.tar.gz | tar xf - $ cd newlib-1.9.0 $ PATH=$PATH:/tmp/armgcc/arm-elf/bin ./configure --target=arm-elf \ --prefix=/tmp/armgcc *** This configuration is not supported in the following subdirectories: target-libgloss (Any other directories should still work fine.) Created "Makefile" in /opt/build/newlib-1.9.0 using "mh-frag" /tmp/armgcc304/lib/gcc-lib/arm-elf/3.0.4/../../../../arm-elf/bin/ld: cannot open crt0.o: No such file or directory collect2: ld returned 1 exit status *** The command 'gcc -o conftest -g -O2 conftest.c' failed. Any ideas? I believe that crt0 is part of newlib but if I cannot built newlib, how do I get crt0? -- albert chin (china@thewrittenword.com) ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |