multiple compilations

Adam Lackorzynski adam at
Mon May 28 17:28:10 CEST 2007

On Mon May 28, 2007 at 14:39:43 +0000, Davide Fasoli wrote:
> -e   ... Making boot.o
> gcc -c -MD -MP -MF -o boot.o \
>           -nostdinc
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/types/ia32
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/types
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/drivers/ia32
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/drivers
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/kern/ia32
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/kern/shared
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/kern
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/boot
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/libk/ia32
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/libk
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/kern/include
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/amm
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/gzip
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/disasm
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/perfctr
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/regex
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/minilibc/ia32/include
>           -I/home/fasoz/soa/tudos/kernel/fiasco/src/lib/minilibc/include
>           -I.  -Iauto -I/usr/lib/gcc/i486-linux-gnu/4.1.2//include
>           -DASSEMBLER
>           /home/fasoz/soa/tudos/kernel/fiasco/src/boot/ia32/boot.S
> gcc: cannot specify -o with -c or -S and multiple compilations

The gcc call looks ok and is the same for me. I don't know why gcc talks
about 'multiple compilations', I only see one file to be compiled.
The previous compiles seem to work although they use g++ instead of gcc.
Anyone else seen this?

Can you try to call the above command in the fiasco build directory and
leave out the last argument
(/home/fasoz/soa/tudos/kernel/fiasco/src/boot/ia32/boot.S) and see what
You could also try to build on another Linux system, if available.

Adam                 adam at

More information about the l4-hackers mailing list