Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: [help] compiling under Debian/Woody

Re: [help] compiling under Debian/Woody

From: Robert Hak <rhak_at_ramapo.edu>
Date: Mon, 12 May 2003 22:34:01 -0400 (EDT)

The impression I get is that you have not built the build environment you
needed. Please see the following link:

http://rockbox.haxx.se/docs/firsttime.html

Hope that helps..

/adi

On Mon, 12 May 2003, Vincent Kujala wrote:

Greetings,

Any friendly tips for compiling (rockbox-daily-20030512) under
Debian/Woody? I've encountered a couple of show stoppers (at
least the last one is not immediately obvious to me):

1 The "-m1" CFLAG in firmware/Makefile causes cpp to choke for
  gcc-2.95 and gcc-3.0 (removing "-m1" seems to clear this error).
  The man page for cpp indicates that "-m" is for machine architecture.
  Do I need a cross compiler for the MAS chip?

2 My assembler seems to be choking on "swap.b" (invalid character ".")
  while compiling drivers/ata.c; Should I be using another assembler?

/datatmp/archos/rockbox-daily-20030512/build# uname -a
Linux debian 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i686 unknown
/datatmp/archos/rockbox-daily-20030512/build# gcc --version
3.0.4
/datatmp/archos/rockbox-daily-20030512/build# cpp --version
3.0.4
/datatmp/archos/rockbox-daily-20030512/build# as --version
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux

snippet from verbose compile command:

firmware# sh-elf-gcc -v -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \
-Iinclude -I. -Iexport -Icommon -Idrivers -DARCHOS_FMRECORDER \
-DDISABLE_DEMOS -DDISABLE_GAMES -DMEM=2 -fomit-frame-pointer -fschedule-isns \
-c drivers/ata.c -o /local1/datatmp/archos/rockbox-daily-20030512/build/drivers/ata.o

/tmp/cclCVzPO.s:300: Error: invalid character '.' in mnemonic
/tmp/cclCVzPO.s:319: Error: invalid character '.' in mnemonic

299:#APP
300: swap.b %ax,%ax
301:#NO_APP

318:#APP
319: swap.b %ax,%ax
320:#NO_APP

Thanks in advance for any pointers.
And, er, sorry if this is the wrong forum/list.

-- 
later,
Vincent Kujala (http://www.geog.ubc.ca/~kujala)
+-- --- --- --- --- --- --- --- --- --- --- --- --- --+
|  Robert E. Hak  < http://phobos.ramapo.edu/~rhak >  |
"Somewhere, in the back reaches of my mind, a single piece of straw
 turns a camel into a paraplegic..."
	- BOFH : http://www.theregus.com/content/30/26308.html
Received on 2003-05-13

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy