File tree 6 files changed +14
-4
lines changed
6 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,17 @@ The object file 'object.arm' was compiled from 'source.c' with goto-cc
12
12
along with an ARM cross-compiler on a 64-bit platform with the following
13
13
command line:
14
14
15
- goto-cc --native-compiler=arm-none-eabi-gcc -mcpu=cortex-a15 -c source.c
15
+ goto-cc -o object.arm - -native-compiler=arm-none-eabi-gcc -mcpu=cortex-a15 -c source.c
16
16
17
- On Ubuntu, you can get a suitable compiler using:
17
+ To regenerate object.arm on an x86_64 machine, you will need to install
18
+ an ARM-32 cross compiler and pass the name of that compiler to the
19
+ --native-compiler flag. On Ubuntu, you can get a suitable compiler
20
+ using:
18
21
19
22
sudo apt install gcc-arm-none-eabi
20
23
24
+ which will install arm-none-eabi-gcc (amongst other things).
25
+
21
26
preproc.i is already pre-processed so that it can be linked in without
22
27
needing to invoke a pre-processor from a cross-compile toolchain on your
23
28
local machine. Linking it together with the ARM object file, while
Original file line number Diff line number Diff line change @@ -12,12 +12,17 @@ file 'object.arm' was compiled from 'source.c' with goto-cc along with
12
12
an ARM cross-compiler on a 64-bit platform with the following command
13
13
line:
14
14
15
- goto-cc --native-compiler=arm-none-eabi-gcc -mthumb -c source.c
15
+ goto-cc -o object.arm - -native-compiler=arm-none-eabi-gcc -mthumb -c source.c
16
16
17
- On Ubuntu, you can get a suitable compiler using:
17
+ To regenerate object.arm on an x86_64 machine, you will need to install
18
+ an ARM-32 cross compiler and pass the name of that compiler to the
19
+ --native-compiler flag. On Ubuntu, you can get a suitable compiler
20
+ using:
18
21
19
22
sudo apt install gcc-arm-none-eabi
20
23
24
+ which will install arm-none-eabi-gcc (amongst other things).
25
+
21
26
preproc.i is already pre-processed so that it can be linked in without
22
27
needing to invoke a pre-processor from a cross-compile toolchain on your
23
28
local machine. Linking it together with the ARM object file, while
You can’t perform that action at this time.
0 commit comments