git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Make git compile with SUNs forte12 compiler

From
TGThomas Glanzmann <thomas@glanzmann.de>
Date
May 13, 2007, 10:30 UTC
Message-ID
<20070513103038.GC18546@cip.informatik.uni-erlangen.de>
In-Reply-To
<pan.2007.05.13.09.47.32@free.fr>
Hello,
[ Junio please drop the patch, if you thought about putting it upstream ]
> Did you understand what you did ?

I do. But my objective wasn't get that function inline but get git to compile under forte12. However. After you pushed me in the right direction I read the compiler documentation and found a compiler option called "-features=no%extinl" which makes it possible to compile git as is using forte12.

So if anyone tries to build git for Solaris using forte12 try this commandline:

export PATH="/opt/forte12/x86/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/openwin/bin"
/opt/csw/bin/gmake \
        CFLAGS='-O -features=no%extinl' \
        CC=/opt/forte12/x86/SUNWspro/bin/cc \
        DESTDIR=/var/tmp/sithglan-pkg/git-1.5.1.4-buildroot \
        ETC_GITCONFIG=/etc/gitconfig \
        INSTALL=/opt/csw/bin/ginstall \
        NO_CURL=1 \
        NO_EXPAT=1 \
        NO_ICONV=1 \
        NO_OPENSSL=1 \
        TAR=/opt/csw/bin/gtar \
        mandir=/usr/share/man \
        prefix=/usr \
        install
Thanks,
        Thomas
Previous: Matthieu CASTETNext: matthieu castet
Message 3 of 6 in “Make git compile with SUNs forte12 compiler”
  1. Make git compile with SUNs forte12 compilerThomas Glanzmann, May 12, 2007
  2. Matthieu CASTETMay 13, 2007
  3. Thomas GlanzmannMay 13, 2007
  4. matthieu castetMay 13, 2007
  5. Johannes SchindelinMay 13, 2007
  6. Thomas GlanzmannMay 13, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.