Hi Enrico,<br><br>On 7/8/07, Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>> wrote:<br>> On Sun, 8 Jul 2007 06:57:39 +0530, "S h i v  "<br>> <<a href="mailto:shivakumar.gn@gmail.com">
shivakumar.gn@gmail.com</a>> wrote:<br>> <br>> Hi,<br>> <br>> > I have built it on Solaris Express(OpenSolaris based distro) using sun<br>> > studio compiler and created a Solaris SVR4 package out of it. A very
<br>> cool. Do you want to publish the package?<br>> <br><br>Sure. Can I get some space on the geany's <a href="http://sf.net">sf.net</a> site !?<br>The package size is ~7.5MB. It is configured to install to /usr/local
<br><br>If you are interested, I will provide you with a spec file (similar to geany.spec) and a small set of steps to create a Solaris package from the source.<br>This spec file and the associated readme can go into the source distribution.
<br><br>> > minor patch that was required after ./configure is attached for<br>> > interested folks.<br>> No, it is not ;-). But I would like to apply it if it doesn't break<br>> anything else.<br>> 
<br><br>Please do not apply the earlier one. That was not generic and not suitable for applying in the mainstream code.<br><br>I am attaching a new one for you to consider.<br>This makes the following changes<br>[1] <a href="http://configure.in">
configure.in</a> - introduce a conditional to recognize gcc (there is supposed to be a variable GCC set to yes by autoconf itself, but this didn't work for me and I didn't probe further)<br>[2] src/Makefile.am and tagmanager/Makefile.am - the gcc specific compiler options are set only if the compiler is found to be gcc. The conditional set in 
<a href="http://configure.in">configure.in</a> gets used here.<br>[3] scintilla/Makefile.am - Remove gcc hardcoding, Set LDFLAGS differently for non-gcc (I assume sun studio here). If this is how the original scintilla Makefile was, this part of the patch maybe input to the scintilla team.
<br><br>With these changes if you regenerate the <a href="http://Makefile.in">Makefile.in</a> files & configure script, the resulting sources should build out of the box using both gcc and Sun Studio compiler.<br><br>
I have tested it using gcc as well as Sun Studio compiler on Solaris Express.<br><br>best regards<br>Shiv<br><br>