[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
output of a command
From: |
Martin Knappe |
Subject: |
output of a command |
Date: |
Sun, 22 Jul 2007 13:45:26 +0100 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070604) |
Hi
Im really stuck here, hope someone can help me:
Suppose I want to write a makefile with target "all"
the command sequence for building "all" is as follows:
-first, file "foo1.asm" should be compiled to "foo1.bin"
-then, file foo2.asm should be compiled to foo2.bin: in the sourcefile
"foo2.asm", the environment variable FOO is referenced, and must contain
the size of "foo1.bin" IN BYTES..i have tried for 2 days now and i cant
get it working :-( how can i set this environment variable for the
second compilation?
-after that, the file "binarydisk.bin" shall be built by placing the
content of "foo1.bin" at the start of it, and then placing "foo2.bin" in
"binarydisk.bin":
-at sector X / Y, if X % sextorsize = 0
-at sector X / Y + 1, if X % sectorsize <> 0
...where X is the size of foo1.bin in bytes and Y is the sectorsize in bytes
please help
thanks
martin
- output of a command,
Martin Knappe <=