[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Building (cross-compiling) gcc+gm2 on Debain testing targeting
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Building (cross-compiling) gcc+gm2 on Debain testing targeting MinGW |
Date: |
Thu, 06 Mar 2014 11:22:48 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Christoph Schlegel <address@hidden> writes:
> Hi all,
>
> now this problem is far from being urgent. But... As I didn't have success in
> building GM2 on Windows 7 under MinGW/MSYS I tried cross-compiling the
> combined tarball of gcc+gm2. Here are my results - I'll finish my email above
> of these as the assembler just continues to cough out 'unknown pseudo-op'
> errors. What am I doing wrong? I am using the prebuilt cross-compiling
> environment provided by the Debian repositories.
>
> bash ../../gcc-4.7.3/gcc/gm2/tools-src/makeSystem -fpim \
> ../../gcc-4.7.3/gcc/gm2/gm2-libs/SYSTEM.def \
> ../../gcc-4.7.3/gcc/gm2/gm2-libs/SYSTEM.mod \
> -I../../gcc-4.7.3/gcc/gm2/gm2-libs \
> "./xgm2 -B./stage1/gm2"
> /home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def
> /tmp/ccR53Ajh.s: Assembler messages:
> /tmp/ccR53Ajh.s:4: Error: unknown pseudo-op: `.def'
Hi Christoph,
no sure - but the script makeSystem is about to run cc1gm2 to obtain the
builtins and compile SYSTEM.mod. Could you run this script by hand via:
cd /home/christoph/gm2build/gcc
bash -x bash ../../gcc-4.7.3/gcc/gm2/tools-src/makeSystem -fpim \
../../gcc-4.7.3/gcc/gm2/gm2-libs/SYSTEM.def \
../../gcc-4.7.3/gcc/gm2/gm2-libs/SYSTEM.mod \
-I../../gcc-4.7.3/gcc/gm2/gm2-libs \
"./xgm2 -B./stage1/gm2" \
/home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def
and then capture the cc1gm2 command line. It might be quite enlightening
to see the options passed to cc1gm2
and see if they differ from those passed to cc1 (the architectural flags
rather than language flags)
regards,
Gaius