This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/87891] problems with building cross GCC for target powerpc64-darwin from powerpc-darwin


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87891

Douglas Mencken <dougmencken at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |bootstrap

--- Comment #6 from Douglas Mencken <dougmencken at gmail dot com> ---
After doing all of this

ln -s /usr/include/sys ./gcc/include/sys
ln -s /usr/include/machine ./gcc/include/machine
ln -s /usr/include/ppc ./gcc/include/ppc
ln -s /usr/include/unistd.h ./gcc/include/unistd.h
ln -s /usr/include/_types.h ./gcc/include/_types.h

ln -s /usr/include/stdlib.h ./gcc/include/stdlib.h
ln -s /usr/include/available.h ./gcc/include/available.h
ln -s /usr/include/alloca.h ./gcc/include/alloca.h

mkdir ./gcc/include/mach
ln -s /usr/include/mach/ppc ./gcc/include/mach/ppc

## /bin/sh: powerpc64-unknown-darwin-ar: command not found
sudo ln -s /usr/bin/ar /usr/bin/powerpc64-unknown-darwin-ar
# make[4]: powerpc64-unknown-darwin-ranlib: Command not found
sudo ln -s /usr/bin/ranlib /usr/bin/powerpc64-unknown-darwin-ranlib

ln -s /usr/include/pthread.h ./gcc/include/pthread.h
ln -s /usr/include/pthread_impl.h ./gcc/include/pthread_impl.h
ln -s /usr/include/sched.h ./gcc/include/sched.h
ln -s /usr/include/time.h ./gcc/include/time.h
ln -s /usr/include/_structs.h ./gcc/include/_structs.h

I got

powerpc64-unknown-darwin-ranlib libgcov.a
powerpc64-unknown-darwin-ranlib: no output file specified (specify with -o
output)
Usage: powerpc64-unknown-darwin-ranlib -static [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: powerpc64-unknown-darwin-ranlib -dynamic [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]
[-compatibility_version #] [-current_version #] [-seg1addr 0x#]
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
[-noall_load]
make[4]: *** [libgcov.a] Error 1
make[3]: *** [multi-do] Error 1
make[2]: *** [all-multi] Error 2
make[1]: *** [all-target-libgcc] Error 2

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