This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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]

Building a Cross glibc


I¹m building a cross-glibc for another machine, and I¹ve run into a problem
where the makefile can¹t figure out how to make ?stamp.o¹
This is a brand-new ?git¹ of glibc and glibc-ports.

Here¹s the error message:
     echo '#define SYSCALL_NARGS 1'; \
     echo '#define SYSCALL_SYMBOL iopl'; \
     echo '#include <syscall-template.S>'; \
    ) | /opt/gnu/bin/i686-gcc -c   -I../include
-I/Users/ddudley/gcc/build-glibc/misc -I/Users/ddudley/gcc/build-glibc
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
-I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.
-nostdinc -isystem /opt/gnu/lib/gcc/i686-pc-linux-gnu/4.7.0/include -isystem
/opt/gnu/lib/gcc/i686-pc-linux-gnu/4.7.0/include-fixed -isystem
/Users/ddudley/gcc/usr/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h       -DASSEMBLER  -DGAS_SYNTAX -g
-Wa,--noexecstack  -Wa,-mtune=i686 -o
/Users/ddudley/gcc/build-glibc/misc/iopl.o -x assembler-with-cpp - -MD -MP
-MF /Users/ddudley/gcc/build-glibc/misc/iopl.o.dt -MT
/Users/ddudley/gcc/build-glibc/misc/iopl.o
make[2]: *** No rule to make target
`/Users/ddudley/gcc/build-glibc/misc/vm86.o', needed by
`/Users/ddudley/gcc/build-glibc/misc/stamp.o'.  Stop.
make[1]: *** [misc/subdir_lib] Error 2
make: *** [all] Error 2

My configure command was:
  $ ../glibc/configure --prefix=/opt/gnu --host=i686-pc-linux-gnu
--with-binutils=/opt/gnu/i686-pc-linux-gnu/bin
--with-headers=/Users/ddudley/gcc/usr/include --disable-shared
--enable-add-ons

I¹m building on a OSX Darwin 10.6.8 system, targeting a cross for a Linux
machine.

David

-- 
"... The Crossbow Project. There's No Defense Like a Good Offense. " - Real
Genius (1985)

Don't think it exists?  Google the Air Force X-37B project.


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