--- On Sat, 10/4/08, Unga <unga888@xxxxxxxxx> wrote: > From: Unga <unga888@xxxxxxxxx> > Subject: -mno-align-long-strings and -fformat-extensions > To: gcc-help@xxxxxxxxxxx > Date: Saturday, October 4, 2008, 10:09 PM > Hi all > > I'm trying to compile the FreeBSD kernel on i386 using > gcc version 4.3.1. > > I'm getting following compile error for > /usr/src/sys/i386/i386/genassym.c : > cc1: error: unrecognized command line option > "-mno-align-long-strings" > cc1: error: unrecognized command line option > "-fformat-extensions" > *** Error code 1 > > I have following queries regarding this: > > 1. Does this means above options are not compatible with > gcc version 4.3.1? > > 2. What are the implications if I remove above options from > kernel sources and recompile? > I found some more info, FreeBSD has modified the GCC to support above functions: -mno-align-long-strings Do not align long strings specially -fformat-extensions Allow FreeBSD kernel-specific printf format specifiers So, what is the option I can use instead -mno-align-long-strings to get the same functionality? Best regards Unga