Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
V. Riviere CrossCompiler help
Posted by: Sallafranque/Thadoss May,13.2012-15:34 

Hi,

I wanted to use Vincent Riviere cross compiler.
I've installed all the Ubuntu packages as mentionned in his page.
This seems to be correctly installed.

Then, I've tried to compile a simple .s file

This file only contains some move, some add and a rts.

Here is a little extraction of this code :

; Begin of the file
move.l #$00010001,d0
move.l #$29462946,d1
move.l #$41a641a6,d2
move.l #$72f272f2,d3
[...]
; Middle of the file
move.l a2,(a6)+
add.w #$0472,a6
move.l #$f79cbdd4,(a6)+
move.l #$bdd4f79c,(a6)+
[...]
; End of the file
rts

The source file is 27 848 bytes
When I assemble it with gen030.ttp, I get a 5 042 bytes file

When I use Vincent tools, I get the following :

m68k-atari-mint-as FILE1.S -o FILE1.out

OK, I get a 14 994 bytes file FILE1.out


Then, I do :
m68k-atari-mint-ld FILE1.out -s -o FILE1.prg

And I get :

FILE1.out:FILE1.out:(.text+0x2): undefined reference to `$00010001'
FILE1.out:FILE1.out:(.text+0x8): undefined reference to `$29462946'
FILE1.out:FILE1.out:(.text+0xe): undefined reference to `$41a641a6'
FILE1.out:FILE1.out:(.text+0x14): undefined reference to `$72f272f2'

What is wrong ?

Best regards

Laurent








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-15:34
  Re: V. Riviere CrossCompiler help Patrice Mandin May,13.2012-16:02
  Re: V. Riviere CrossCompiler help saulot May,13.2012-16:21
    Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-18:20
      Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-18:23
        Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-19:00
          Re: V. Riviere CrossCompiler help ggn May,13.2012-19:06
            Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-19:58
              Re: V. Riviere CrossCompiler help mikro May,13.2012-20:16
                Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-20:30
                  Re: V. Riviere CrossCompiler help evil May,13.2012-21:26
                    Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-21:41
                      Re: V. Riviere CrossCompiler help ggn May,13.2012-21:47
                        Re: V. Riviere CrossCompiler help evil May,13.2012-22:22
                      Re: V. Riviere CrossCompiler help Cyprian May,13.2012-22:41
                Re: V. Riviere CrossCompiler help Cyprian May,13.2012-22:35
                  Re: V. Riviere CrossCompiler help Sallafranque/Thadoss May,13.2012-23:49


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson