Linux MIPS Architecture development
 help / color / mirror / Atom feed
* cross-compile fails
@ 2000-01-12 16:27 Vince Weaver
  2000-01-12 20:04 ` Vince Weaver
  0 siblings, 1 reply; 12+ messages in thread
From: Vince Weaver @ 2000-01-12 16:27 UTC (permalink / raw)
  To: linux

Hello

I am trying to compile a kernel to boot on an Indigo2 I have access too.

I installed the rpm's of the mips cross-compile tools from oss.sgi.com, 
and got the latest CVS kernel [at about 10am EST today].

the compile fails at the end with this:

make[1]: Leaving directory `/home/vince/sgi/linux/arch/mips/lib'
mips-linux-ld -static -G 0 -N -T arch/mips/ld.script.little -Ttext 0x88002000 
arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o
init/version.o \
        --start-group \
        arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.o drivers/misc/misc.o
drivers/parport/parport.a drivers/net/net.a drivers/scsi/scsi.a
drivers/cdrom/cdrom.a drivers/sgi/sgi.a drivers/video/video.a \
        arch/mips/lib/lib.a /home/vince/sgi/linux/lib/lib.a
arch/mips/sgi/kernel/sgikern.a arch/mips/arc/arclib.a \
        --end-group \
        -o vmlinux
mips-linux-ld: arch/mips/kernel/head.o: compiled for a big endian system
and target is little endian
mips-linux-ld: arch/mips/kernel/init_task.o: compiled for a big endian
system and target is little endian
.......

and the last error repeats for a bunch of files

if I change in the config file from little-endian to big endian I get the
same error in reverse, a bunch of files compiled for a little endian
system and the target is big endian.

is there an easy fix to this? am I missing something obvious?

Vince

____________
\  /\  /\  /  Vince Weaver          
 \/__\/__\/   weave@eng.umd.edu     http://www.glue.umd.edu/~weave

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-01-15  1:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-12 16:27 cross-compile fails Vince Weaver
2000-01-12 20:04 ` Vince Weaver
2000-01-12 22:31   ` Vince Weaver
2000-01-13 18:09     ` identifying sgi system type Vince Weaver
2000-01-13 18:32       ` Status Indigo2 Beowulf project Avi Bercovich
2000-01-14 17:01         ` Andrew R. Baker
2000-01-13 19:18       ` identifying sgi system type under Linux Eric Kimminau
2000-01-13 20:31         ` Vince Weaver
2000-01-13 21:15         ` William J. Earl
2000-01-13 21:45           ` identifying sgi system type under Linux [patch] Vince Weaver
2000-01-14 12:25             ` Ralf Baechle
2000-01-13 23:19       ` identifying sgi system type William J. Earl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox