Compiling dasm

You need an actual VIC.

Moderator: Moderators

Post Reply
drx
Vic 20 Newbie
Posts: 5
Joined: Wed Nov 23, 2005 11:04 am

Compiling dasm

Post by drx »

Hello,

to work with compiled VIC Tracker tunes i need to use the dasm macro assembler from http://www.atari2600.org/DASM/

But i cannot get it to compile. When i run "make" it says:

Code: Select all

# make
dcc    -c -o main.o main.c
make: dcc: command not found
What is this dcc? I found only useless dccs, like "direct client connection" and "distributed checksum clearing house".

I am running Ubuntu/Debian Linux, but am not experienced with Amiga (dasm was made for Amiga as i understand) and also not too with low-level language on Unix.

I really would appreciate your help.

Best greetings,
drx[/code][/b][/url]
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

dcc sounds like Dice C Compiler, a freeware compiler for the Amiga. Check the Makefile in src directory:

Code: Select all

GOPTIM= -O3
GWARN=	-ansi -pedantic -Wall -Wstrict-prototypes
GDB=	# -g
#CC=	gcc $(GDB) $(GOPTIM) $(GWARN)
CC=	dcc
CFLAGS=
Uncomment the line with gcc, and comment (#) the line with dcc. I'm not sure why Andrew to this day ships updated versions of Dasm but with a default makefile for Amiga..
Anders Carlsson

Image Image Image Image Image
drx
Vic 20 Newbie
Posts: 5
Joined: Wed Nov 23, 2005 11:04 am

ThanX0rz!

Post by drx »

Hi carlsson, thank you very much, dasm is compiled now and works! I am very happy.
--drx
Post Reply