Gcc compilation flag

can someone explain to me why we use the -m flag in gcc? I run man gcc, the result of the command is unclear, can someone explain to me the role of this flag in compilation? how to use -m to specify your own syntax? I need this because I run the automatically generated makefile using the make command, but it shows an error that is the following: cc1: error: unrecognized command line option "-m" can anyone explain what it is?

+5
source share
1 answer

-malways follows machine-option, which usually depends on the machine. Common examples are -m32, and -m64to select the 32-bit and 64-bit architectures constructs that support both.

It looks like you have an empty or uninitialized makefile variable.

+5
source

All Articles