Date: Wed, 24 Jun 2009 19:09:36 -0700 From: Jin Guojun <jguojun@gmail.com> To: questions@freebsd.org Subject: cc1: error: unrecognized command line option "-mfdpic" Message-ID: <4A42DC60.2060208@gmail.com>
next in thread | raw e-mail | index | archive | help
This option "-mfdpic" is shown in manual page for gcc 4.1 or later
-mfdpic
Select the FDPIC ABI, that uses function descriptors to represent
pointers to functions. Without any PIC/PIE-related options, it
implies -fPIE. With -fpic or -fpie, it assumes GOT entries and
small data are within a 12-bit range from the GOT base address;
with -fPIC or -fPIE, GOT offsets are computed with 32 bits.
With a
bfin-elf target, this option implies -msim.
However, tried all gcc 4.1.x, 4.2.x and 4.3.x with following test, and
no one of them accept this
option:
%: echo "#include <stdio.h>" | gcc43 -mfdpic - -E
cc1: error: unrecognized command line option "-mfdpic"
# 1 "<stdin>"
%: echo "#include <stdio.h>" | gcc43 -fdpic - -E
cc1: error: unrecognized command line option "-fdpic"
# 1 "<stdin>"
where "-dpic" option is a voild option.
Does anyone know why "-mfdpic" option is missing from gcc4.x in FreeBSD
distribution?
Is this due to some license issues?
If so, what is the other option to subtitute it?
Thanks,
-Jin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A42DC60.2060208>
