From milou645@hotmail.com Sun Nov 1 23:56:34 2009 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2905F7500DF for ; Sun, 1 Nov 2009 23:56:34 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.032 X-Spam-Level: X-Spam-Status: No, score=-101.032 tagged_above=-999 required=2 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001, TW_GX=0.077, USER_IN_WHITELIST=-100] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HgIHSBIPB-oF for ; Sun, 1 Nov 2009 23:56:27 +0000 (GMT) Received: from col0-omc4-s10.col0.hotmail.com (col0-omc4-s10.col0.hotmail.com [65.55.34.212]) by menubar.gnome.org (Postfix) with ESMTP id EAC50750088 for ; Sun, 1 Nov 2009 23:56:18 +0000 (GMT) Received: from COL124-W52 ([65.55.34.200]) by col0-omc4-s10.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Nov 2009 15:56:16 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_81586445-5277-47a9-b88e-60b6d093feaa_" X-Originating-IP: [89.158.85.135] From: Emilien G To: Date: Sun, 1 Nov 2009 23:56:16 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 01 Nov 2009 23:56:16.0546 (UTC) FILETIME=[E674A020:01CA5B4E] X-Mailman-Approved-At: Mon, 02 Nov 2009 20:51:55 +0000 Subject: [sigc] Libsig 32 bits on Snow Leopard X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 23:56:34 -0000 --_81586445-5277-47a9-b88e-60b6d093feaa_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C=20 i've recently switched to snow leopard and i want to compile a leopard p= roject that used libsig and a 32bits framework. so=2C i want to compile libsig in 32 bits Here is the entire command line i tried for it :=20 ./configure CFLAGS=3D'-arch i386' LDFLAGS=3D'-arch i386' CC=3D'gcc-4.0.1 -m= 32' CXX=3D'g++-4.0.1 -m32' CHOST=3D'i386-apple-darwin10.0.0' --target=3Di38= 6-apple-darwin10.0.0 --build=3Di386-apple-darwin10.0.0 --host=3Di386-apple-= darwin10.0.0 But i think it doesn't work because there are problems during the link (= undefined references) and i have found these lines in the configure log=20 Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking -= -enable-werror --prefix=3D/usr --mandir=3D/share/man --enable-languages=3Dc= =2Cobjc=2Cc++=2Cobj-c++ --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ = --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin10 --with-gxx-include-= dir=3D/include/c++/4.2.1 --program-prefix=3Di686-apple-darwin10- --host=3Dx= 86_64-apple-darwin10 -- So it apparently compiles in 64 bits... Any ideas? Thank u ! Emilien =20 _________________________________________________________________ Nouveau! D=E9couvrez le Windows phone Samsung Omnia II disponible chez SFR.= =20 http://clk.atdmt.com/FRM/go/175819072/direct/01/= --_81586445-5277-47a9-b88e-60b6d093feaa_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C

 =3B =3B i've recently switched to snow leopard an= d i want to compile a leopard project that used libsig and a 32bits framewo= rk.
 =3B =3B so=2C i want to compile libsig in 32 bits
 = =3B =3B Here is the entire command line i tried for it :
./configur= e CFLAGS=3D'-arch i386' LDFLAGS=3D'-arch i386' CC=3D'gcc-4.0.1 -m32' CXX=3D= 'g++-4.0.1 -m32' CHOST=3D'i386-apple-darwin10.0.0' --target=3Di386-apple-da= rwin10.0.0 --build=3Di386-apple-darwin10.0.0 --host=3Di386-apple-darwin10.0= .0
 =3B =3B But i think it doesn't work because there are proble= ms during the link (undefined references) and i have found these lines in t= he configure log
 =3B =3B Target: i686-apple-darwin10
Config= ured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enabl= e-werror --prefix=3D/usr --mandir=3D/share/man --enable-languages=3Dc=2Cobj= c=2Cc++=2Cobj-c++ --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ --with= -slibdir=3D/usr/lib --build=3Di686-apple-darwin10 --with-gxx-include-dir=3D= /include/c++/4.2.1 --program-prefix=3Di686-apple-darwin10- --host=3Dx86_64-= apple-darwin10 --

 =3B =3B =3B So it apparently compiles= in 64 bits...
 =3B =3B =3B Any ideas?
 =3B =3B&n= bsp=3B Thank u !

Emilien




Nouveau!= D=E9couvrez le Windows phone Samsung Omnia II disponible chez SFR. Cliq= uez ici = --_81586445-5277-47a9-b88e-60b6d093feaa_-- From mailtome200420032002@yahoo.com Thu Nov 26 00:01:28 2009 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 83A25750230 for ; Thu, 26 Nov 2009 00:01:28 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FROM_LOCAL_DIGITS=0.001, FROM_LOCAL_HEX=1.399] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PMh61ZUEDUrK for ; Thu, 26 Nov 2009 00:01:18 +0000 (GMT) Received: from web53106.mail.re2.yahoo.com (web53106.mail.re2.yahoo.com [206.190.49.56]) by menubar.gnome.org (Postfix) with SMTP id 68FD57501A3 for ; Thu, 26 Nov 2009 00:01:10 +0000 (GMT) Received: (qmail 35406 invoked by uid 60001); 26 Nov 2009 00:01:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1259193668; bh=2WRztrhNyFugPBfeDt9F35QLO8VymnMP8h6IZK+2AzA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=CmjA3/IdvFEcK/+N34shc3zo5g5kKPrEz9WRP3c4+wiGzCNKZ1iUVEC1Laww4+gQ3HUOA5OOh5k3EZfqWNG+crmo/0NJ9XfGffQEiFCvBNs41Iiym2TqZdWmcknk6ibO0+faBBDDxlROpOSn5JDlLQMUOK973BFUWVwkA2H72ug= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=wCUZH9hiMIvCyG+SBRm/PCtf1/VfZ/CSi2RDW+FdhANd+VQFRZzU26Sqa4FPh5No8eg2IQfUvt61XUck5pMQmeY7Yi/sfTLKSF1NCZBwm5b8BoHLO4XrpjBTsVmvlqSiF/+L5JsWC8YtliqkPNFqJQel+b7m9Fv3ARL+c4uDpGM=; Message-ID: <693656.35272.qm@web53106.mail.re2.yahoo.com> X-YMail-OSG: 5EZwh1UVM1kQU6yq2Er4l5BD2Q7eoDmOqZXY3gcAkMGJkbOVuyxx.pLrHfXHqVaR5FWB83Kc0DW.7zX6H2ZS.9DS6GTE9jtY5mRs_PA3yGEzj5N2OqBli37MXHzsL4Gn3rJbIRANGWP7n4zEMYa5hi4kniJdcvleCiO_QSw_ZU1RTlNztp344YVn_PJ8SnIoKMss9ge2moWDJ5eZVma_6WdDe1hVjF2DUokFMnZWpSvwBiR5JN.Pbb.wuVaw5kHZkJKWj1zWxhZn.hknbEcO818yZww5gnm40.QtFK4c5GZ.r5k_ONybPusMNIkDihF1PbV4 Received: from [98.207.82.119] by web53106.mail.re2.yahoo.com via HTTP; Wed, 25 Nov 2009 16:01:08 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.8.100.260964 Date: Wed, 25 Nov 2009 16:01:08 -0800 (PST) From: john blair To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [sigc] Universal (fat) version of libsigc++ libraries X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2009 00:01:28 -0000 I am trying to build libgigc++- on my mac 10.5.5. I want to build a universal binary so I am passing the following options to configure: --disable-dependency-tracking \ CXXFLAGS="-arch i386 -arch x86_64" \ CFLAGS="-arch i386 -arch x86_64" \ LDFLAGS="-arch i386 -arch x86_64" But this results in the following error: ld warning: in ../sigc++/.libs/libsigc-2.0.dylib, file is not of required architecture Undefined symbols for architecture x86_64: "sigc::trackable::trackable()", referenced from: sigc::internal::slot_rep::slot_rep(void* (*)(void*), void* (*)(void*), void* (*)(void*))in test_trackable.o my_class::my_class()in test_trackable.o "sigc::slot_base::slot_base()", referenced from: sigc::slot0::slot0()in test_trackable.o "sigc::internal::slot_rep::notify(void*)", referenced from: sigc::internal::slot_do_bind::operator()(sigc::trackable const*) constin test_trackable.o "sigc::trackable::remove_destroy_notify_callback(void*) const", referenced from: sigc::internal::slot_do_unbind::operator()(sigc::trackable const*) constin test_trackable.o "sigc::slot_base::slot_base(sigc::internal::slot_rep*)", referenced from: sigc::slot0::slot0 >(sigc::bound_mem_functor0 const&)in test_trackable.o "sigc::trackable::~trackable()", referenced from: sigc::internal::slot_rep::~slot_rep()in test_trackable.o sigc::internal::slot_rep::~slot_rep()in test_trackable.o my_class::~my_class()in test_trackable.o "sigc::trackable::add_destroy_notify_callback(void*, void* (*)(void*)) const", referenced from: sigc::internal::slot_do_bind::operator()(sigc::trackable const*) constin test_trackable.o "sigc::slot_base::operator=(sigc::slot_base const&)", referenced from: sigc::slot0::operator=(sigc::slot0 const&)in test_trackable.o "sigc::slot_base::~slot_base()", referenced from: sigc::slot0::~slot0()in test_trackable.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status Can someone suggest me a way to build a univeral libsigcc++? From hpreg@vmware.com Thu Nov 26 10:05:17 2009 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E511C7500E1 for ; Thu, 26 Nov 2009 10:05:17 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id afsdyEiNsmA9 for ; Thu, 26 Nov 2009 10:05:08 +0000 (GMT) Received: from smtp-outbound-1.vmware.com (smtp-outbound-1.vmware.com [65.115.85.69]) by menubar.gnome.org (Postfix) with ESMTP id D8A0775004D for ; Thu, 26 Nov 2009 10:04:59 +0000 (GMT) Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 34D14B039; Thu, 26 Nov 2009 02:04:58 -0800 (PST) Received: from [10.23.164.180] (unknown [10.23.164.180]) by mailhost3.vmware.com (Postfix) with ESMTP id A0076CD906; Thu, 26 Nov 2009 02:04:57 -0800 (PST) Message-Id: From: Regis Duchesne To: john blair In-Reply-To: <693656.35272.qm@web53106.mail.re2.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 26 Nov 2009 11:04:58 +0100 References: <693656.35272.qm@web53106.mail.re2.yahoo.com> X-Mailer: Apple Mail (2.936) Cc: "libsigc-list@gnome.org" Subject: Re: [sigc] Universal (fat) version of libsigc++ libraries X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2009 10:05:18 -0000 John, I'm interested in that as well (VMware Fusion's UI uses libsigc++, and I want to port it to 64-bit), so please let me know about your findings. On Nov 26, 2009, at 1:01 AM, john blair wrote: > I am trying to build libgigc++- on my mac 10.5.5. I want to build a > universal binary so I am passing the following options to configure: > > --disable-dependency-tracking \ > CXXFLAGS="-arch i386 -arch x86_64" \ > CFLAGS="-arch i386 -arch x86_64" \ > LDFLAGS="-arch i386 -arch x86_64" > > But this results in the following error: > ld warning: in ../sigc++/.libs/libsigc-2.0.dylib, file is not of > required architecture > Undefined symbols for architecture x86_64: > "sigc::trackable::trackable()", referenced from: > sigc::internal::slot_rep::slot_rep(void* (*)(void*), void* (*) > (void*), void* (*)(void*))in test_trackable.o > my_class::my_class()in test_trackable.o > ... > ld: symbol(s) not found for architecture x86_64 > collect2: ld returned 1 exit status > > > Can someone suggest me a way to build a univeral libsigcc++? In many cases, I have found that packages are not well equipped to deal with building multiple architectures in one invocation. What I usually end up doing is: 1) Choose your installation directory, let's say foo. 2) Build and install using -arch i386. _Move_ the install directory from foo to foo.i386 3) Build and install using -arch x86_64. _Copy_ the install directory from foo to foo.x86_64 4) Identify all the binaries inside foo (that is the only step where a human is needed). For each binary identified, delete the (64-bit) binary, create the (fat) binary by invoking 'lipo' on the corresponding binaries from foo.i386 (32-bit) and foo.x86_64 (64-bit) The end result is that you end up with a working fat version of the package, installed in foo. You can now delete foo.i386 and foo.x86_64. I hope it helps, -- hpreg From libsigc-list@gnome.org Sun Nov 22 14:05:57 2009 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id BEF4C750090 for ; Sun, 22 Nov 2009 14:05:57 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: YES X-Spam-Score: 2.061 X-Spam-Level: ** X-Spam-Status: Yes, score=2.061 tagged_above=-999 required=2 tests=[BAYES_50=0.001, RCVD_IN_BL_SPAMCOP_NET=1.96, RDNS_NONE=0.1] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PZj+0nwEBeu6 for ; Sun, 22 Nov 2009 14:05:48 +0000 (GMT) Received: from [123.238.123.168] (unknown [123.238.123.168]) by menubar.gnome.org (Postfix) with ESMTP id 856F67500C4 for ; Sun, 22 Nov 2009 14:05:38 +0000 (GMT) From: Alexis To: "libsigc-list" Content-Type: text/plain; Mime-Version: 1.0 Message-Id: <20091122140547.856F67500C4@menubar.gnome.org> X-Mailman-Approved-At: Thu, 17 Dec 2009 18:42:29 +0000 Subject: [sigc] User libsigc-list X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 22 Nov 2009 14:05:58 -0000 X-Original-Date: Sun, 22 Nov 2009 14:05:38 +0000 (GMT) X-List-Received-Date: Sun, 22 Nov 2009 14:05:58 -0000 I know all your habits http://poind.by.ru/hot.html