This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
It's quite some time ago I did that stuff, so take with a grain of salt...
Ripped out of my scripts:
elif [[ "${GCC_VER_MAJOR}" -eq 4 ]]; then
if [[ "${GCC_VER_MINOR}" -lt 6 ]]; then
## Default, 3 < GCC < 4.6
CFLAGS="-mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
else
## Default, 4.5 < GCC < 5
CFLAGS="-mcpu=arm1176jzf-s -march=armv6zk -mfpu=vfp -mfloat-abi=hard"
fi
fi
AFAIK I've been using -mcpu=arm1176jzf-s with at least GCC 4.5 and up. Versions
4.6 and higher also provided support for both -mcpu=arm1176jzf-s and
-march=armv6zk at the same time, older version would error out on this combination.
So... given that it worked for me (although I can't speak for *holding breath*
Ubuntu), try -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard which should be
supported on 4.5 and up.
Best regards,
Mihai
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |