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 " | gcc43 -mfdpic - -E
cc1: error: unrecognized command line option "-mfdpic"
# 1 ""
%: echo "#include " | gcc43 -fdpic - -E
cc1: error: unrecognized command line option "-fdpic"
# 1 ""
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"