Re: [Patch] MinGW support for Glib-Object-Introspection







----- Original Message -----
From: Torsten Schoenfeld <kaffeetisch gmx de>
To: gtk-perl-list gnome org
Cc: 
Sent: Friday, June 29, 2012 11:55 PM
Subject: Re: [Patch] MinGW support for Glib-Object-Introspection

[snip]

Do you have the possibility to test with nmake/cl?

 +      # XXX: G-O-I defaults to CC=cc
 +      $ENV{CC} = 'gcc' if (!defined $ENV{CC});

On Unix, people usually symlink 'cc' to their preferred compiler, so 
that using 'cc' in code is fine.  Does it not work like this on MSWin32?
_______________________________________________


Whatever it's about, it should better be

$ENV{CC} = 'gcc' unless exists $ENV{CC};
.

I am talking about Perl idioms here.

Regards,
  Sergei.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]