Chris Sutcliffe | 22 Jan 20:51 2011
Picon

linking to shared libiconv / libintl

Hi Chuck,

I'm hoping you can help me out a little with this one.  As per Keith's 
request, I'm investigating how to link against the shared libiconv / 
libintl for make, etc. but I'm hitting a bit of a snag.  Make's 
configure is resolving to actual library (i.e. /mingw/lib/libiconv.a), 
do you know of a way to override configure so that it will link to the 
shared library (i.e. /mingw/lib/libiconv.dll.a)?

I've tried setting LIBICONV=/mingw/lib/libiconv.dll.a prior to running 
configure, but it still defaults to the static lib.

Any input would be greatly appreciated.

Thank you,

Chris

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
Charles Wilson | 22 Jan 21:19 2011
Picon
Picon

Re: linking to shared libiconv / libintl

On 1/22/2011 2:51 PM, Chris Sutcliffe wrote:
> I'm hoping you can help me out a little with this one.  As per Keith's 
> request, I'm investigating how to link against the shared libiconv / 
> libintl for make, etc. but I'm hitting a bit of a snag.  Make's 
> configure is resolving to actual library (i.e. /mingw/lib/libiconv.a), 
> do you know of a way to override configure so that it will link to the 
> shared library (i.e. /mingw/lib/libiconv.dll.a)?
> 
> I've tried setting LIBICONV=/mingw/lib/libiconv.dll.a prior to running 
> configure, but it still defaults to the static lib.
> 
> Any input would be greatly appreciated.

It's likely you're running in to a problem with config.rpath.  If your
source includes that file, then modify it as follows:

 <at>  <at>  -441,7 +441,7  <at>  <at>  case "$host_os" in
   bsdi4*)
     ;;
   cygwin* | mingw* | pw32*)
-    shrext=.dll
+    shrext=.dll.a
     ;;

And that ought to fix it.  The problem is, the autoconfig macros
provided by gettext (intl.m4, lib-link.m4, lib-ld.m4, etc) do *too
much*. IMO Bruno was overthinking the problem, but the point is, if you
use AM_GETTEXT_*() in your autoconf, then the intl library will be
located using the rules specified in those macros and in config.rpath,
instead of using the default compiler and linker mechanisms.
(Continue reading)

Chris Sutcliffe | 22 Jan 23:51 2011
Picon

Re: linking to shared libiconv / libintl

On 22/01/2011 3:19 PM, Charles Wilson wrote:
> On 1/22/2011 2:51 PM, Chris Sutcliffe wrote:
>> I'm hoping you can help me out a little with this one.  As per Keith's
>> request, I'm investigating how to link against the shared libiconv /
>> libintl for make, etc. but I'm hitting a bit of a snag.  Make's
>> configure is resolving to actual library (i.e. /mingw/lib/libiconv.a),
>> do you know of a way to override configure so that it will link to the
>> shared library (i.e. /mingw/lib/libiconv.dll.a)?
>>
>> I've tried setting LIBICONV=/mingw/lib/libiconv.dll.a prior to running
>> configure, but it still defaults to the static lib.
>>
>> Any input would be greatly appreciated.
> It's likely you're running in to a problem with config.rpath.  If your
> source includes that file, then modify it as follows:
>
>  <at>  <at>  -441,7 +441,7  <at>  <at>  case "$host_os" in
>     bsdi4*)
>       ;;
>     cygwin* | mingw* | pw32*)
> -    shrext=.dll
> +    shrext=.dll.a
>       ;;

Perfect, that worked like a charm.  I will be uploading a '-5' release 
for mingw32-make and I will work on updating binutils over the next 
couple of days.

Thank you!

(Continue reading)

Chris Sutcliffe | 30 Jan 06:05 2011
Picon

Subversion

Hi All,

Just a heads up (for those who haven't read it):

https://sourceforge.net/blog/sourceforge-attack-full-report/

Looks like SourceForge CVS is going to be down for a while, beyond that, 
it looks like CVS may be shutdown by SourceForge in the not-to-distant 
future (in favour of Subversion).  Do we bite the bullet now and migrate 
to Subversion?  I realize that this will impact all the work Keith has 
done with mingw-get, hopefully it can be modified to use Subversion as 
opposed to CVS.

Chris

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
NightStrike | 30 Jan 06:23 2011
Picon

Re: Subversion

On Sun, Jan 30, 2011 at 12:05 AM, Chris Sutcliffe <ir0nh34d@...> wrote:
> Hi All,
>
> Just a heads up (for those who haven't read it):
>
> https://sourceforge.net/blog/sourceforge-attack-full-report/
>
> Looks like SourceForge CVS is going to be down for a while, beyond that,
> it looks like CVS may be shutdown by SourceForge in the not-to-distant
> future (in favour of Subversion).  Do we bite the bullet now and migrate
> to Subversion?  I realize that this will impact all the work Keith has
> done with mingw-get, hopefully it can be modified to use Subversion as
> opposed to CVS.

Subversion has a very complete lib that you can compile into your software.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
Picon

Re: Subversion

On Sun, Jan 30, 2011 at 5:05 AM, Chris Sutcliffe <ir0nh34d <at> gmail.com> wrote:
> Hi All,
>
> Just a heads up (for those who haven't read it):
>
> https://sourceforge.net/blog/sourceforge-attack-full-report/
>
> Looks like SourceForge CVS is going to be down for a while, beyond that,
> it looks like CVS may be shutdown by SourceForge in the not-to-distant
> future (in favour of Subversion).  Do we bite the bullet now and migrate
> to Subversion?  I realize that this will impact all the work Keith has
> done with mingw-get, hopefully it can be modified to use Subversion as
> opposed to CVS.

 i would strongly recommend git.  git-win32 ironically uses mingw as
the base :)  actually the (ridiculously large) git-win32 install has
to slurp in pretty much everything under the sun in it - bash, perl,
awk, sed, patch, diff, ssh (!), openssl - the works.  why?  well, look
at git's dependencies and you start to see why.  i'm really not sure
why they bunged in vim but i'm glad they did.  by installing git-win32
i don't need to install anything else for software development on a
win32 box! :)

 svn is not as robust as git, and has a habit of multiplying up the
disk space utilised by a factor of... well i heard one kde developer
say it was like a 5x increase over the source code, whereas git is
just incredibly efficient and stores diffs on diffs on diffs etc.  i
heard also - i'm not sure if it's true - that it's quicker to do a git
checkout than it is to do a tar -xvzf on the exact same source code
tree!
(Continue reading)

Picon

Re: Subversion

On Sun, Jan 30, 2011 at 5:23 AM, NightStrike <nightstrike <at> gmail.com> wrote:
> On Sun, Jan 30, 2011 at 12:05 AM, Chris Sutcliffe <ir0nh34d <at> gmail.com> wrote:
>> Hi All,
>>
>> Just a heads up (for those who haven't read it):
>>
>> https://sourceforge.net/blog/sourceforge-attack-full-report/
>>
>> Looks like SourceForge CVS is going to be down for a while, beyond that,
>> it looks like CVS may be shutdown by SourceForge in the not-to-distant
>> future (in favour of Subversion).  Do we bite the bullet now and migrate
>> to Subversion?  I realize that this will impact all the work Keith has
>> done with mingw-get, hopefully it can be modified to use Subversion as
>> opposed to CVS.
>
> Subversion has a very complete lib that you can compile into your software.

 if sourceforget is running gitorious (or git-daemon) gitorious has a
means to create tarballs over http, you can specify the exact revision
that you want or you can, i believe, specify a tag or a branch name
(or just "master").  you'll have to check what they're running,
though.  it's late otherwise i'd check on your behalf.

 l.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
(Continue reading)

John E. / TDM | 30 Jan 07:05 2011
Picon

Re: Subversion

On 1/29/2011 10:05 PM, Chris Sutcliffe wrote:
> Do we bite the bullet now and migrate
> to Subversion?  I realize that this will impact all the work Keith has
> done with mingw-get, hopefully it can be modified to use Subversion as
> opposed to CVS.

As a complement to Luke's suggestion of using Git, I'd like to strongly 
recommend Mercurial (hg). I will not and cannot say that it is 
definitively better than Git, or more appropriate for the MinGW project 
-- that's a decision for the admins -- but, for anyone working in a 
Windows environment, it is an easier and more lightweight install. 
Nothing else needs to be said except that Mercurial and Git are both 
modern, professional, eminently usable distributed version control 
systems; a glance at the features and design choices of each would 
certainly be enough for those responsible to determine whether either is 
appropriate for the MinGW project and preferable to Subversion.

-John E.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
Picon

Re: Subversion

On Sun, Jan 30, 2011 at 6:05 AM, John E. / TDM <tdragon <at> tdragon.net> wrote:
> On 1/29/2011 10:05 PM, Chris Sutcliffe wrote:
>> Do we bite the bullet now and migrate
>> to Subversion?  I realize that this will impact all the work Keith has
>> done with mingw-get, hopefully it can be modified to use Subversion as
>> opposed to CVS.
>
> As a complement to Luke's suggestion of using Git, I'd like to strongly
> recommend Mercurial (hg).

 mmm... but sourceforget (afaik) doesn't support hg.

 however for "personal" use there exist gateways.  i use git-svn
deliberately if there is an svn repository about that i can't convert
and i need to do commits etc. to it.

 l.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
NightStrike | 30 Jan 16:30 2011
Picon

Re: Subversion

On Sun, Jan 30, 2011 at 10:10 AM, Luke Kenneth Casson Leighton
<lkcl@...> wrote:
>  mmm... but sourceforget (afaik) doesn't support hg.

The site's name is "sourceforge".  They provide a whole heck of a lot
of service for zero dollars, and mocking them is in extremely poor
taste.  FOSS developers are the first to respond with "Don't be rude
to me, I work for free."  The same should apply to the company
providing very expensive services for nothing.

Every one of your emails in this thread is filled with jabs at
sourceforge.  I, for one, am thankful for what they provide.  You
should be, as well.  That, or petition to move the entire project off
the site.

And, for the record, "sourceforget" is a terrible play on words.  At
least try to come up with something worthwhile.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

Gmane