what target flag should I set to cross compile arm 32 bit code in gcc?
0
votes
1
answer
1104
views
I'm trying to build a cross compiling build server for some 32 bit arm devices, where the architecture is:
(from uname -m) "armv5tejl"
I have to specify the target for binutils, and gcc, which looking like:
--target=aarch64-linux
(for example)
should I expect that the target flag for my use case is
--target=armv5tejl-linux
?
or how would I know the target flag to use?
I tried looking in $
gcc --target-help| less
for help, but I dont see anything of use.
Asked by j0h
(3949 rep)
Dec 23, 2022, 02:36 AM
Last activity: Dec 24, 2022, 02:07 PM
Last activity: Dec 24, 2022, 02:07 PM