From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: K-computing RTAI benchmark cross-compile From: Toni Van Remortel Reply-To: t.vanremortel@ha.be To: Linuxppc-Embedded Content-Type: text/plain Message-Id: <1062060226.25974.5.camel@toni> Mime-Version: 1.0 Date: Thu, 28 Aug 2003 10:43:47 +0200 Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: Hi all, I'm trying to cross-compile the benchmark for RTAI, made by K-computing, to ppc (EP405 board with IBM PPC 405GP cpu). I use the ELDK compiler-set (which is working perfect, I compiled kernel and rtai with it without any problem). But when I try to compile the benchmark, I get these errors: ppc_4xx-gcc -O -Wall -c timer_test.c /tmp/ccUWN8MR.s: Assembler messages: /tmp/ccUWN8MR.s:136: Error: Unrecognized opcode: `pushl' /tmp/ccUWN8MR.s:137: Error: Unrecognized opcode: `pushl' /tmp/ccUWN8MR.s:138: Error: Unrecognized opcode: `rdtsc' /tmp/ccUWN8MR.s:139: Error: Unrecognized opcode: `movl' /tmp/ccUWN8MR.s:140: Error: Unrecognized opcode: `movl' /tmp/ccUWN8MR.s:141: Error: Unrecognized opcode: `popl' /tmp/ccUWN8MR.s:142: Error: Unrecognized opcode: `popl' /tmp/ccUWN8MR.s:351: Error: Unrecognized opcode: `pushl' /tmp/ccUWN8MR.s:352: Error: Unrecognized opcode: `pushl' /tmp/ccUWN8MR.s:353: Error: Unrecognized opcode: `rdtsc' /tmp/ccUWN8MR.s:354: Error: Unrecognized opcode: `movl' /tmp/ccUWN8MR.s:355: Error: Unrecognized opcode: `movl' /tmp/ccUWN8MR.s:356: Error: Unrecognized opcode: `popl' /tmp/ccUWN8MR.s:357: Error: Unrecognized opcode: `popl' make: *** [timer_test.o] Fout 1 I assume it's some problem with wrong functions or so, but I really don't know where to look. PS: The RTAI-dir and Linux-dir are correclty changed in the Makefile. Anybody a clue how to solve this? Or are there other PPC RTAI benchmarks available? Regards, -- Toni Van Remortel Wetenschappelijk Medewerker - D-science lab Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95 E-mail: t.vanremortel@ha.be ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/