Re: [Gtk-osx-users] Build glib



I wanted an 64 bit version so I removed the 32 bit version first
before compiling 64 bit.

I am using the standard compiler.
bash-3.2$ cc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~105/src/configure
--disable-checking --enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)

Strange is that the jhbuild bootstrap and jhbuild build
meta-gtk-osx-bootstrap wen well.

Regards,
Gertwin



2010/11/22 John Ralls <jralls ceridwen fremont ca us>:
>
> On Nov 21, 2010, at 2:08 PM, Gertwin Groen wrote:
>
>> Few days ago I build gtk-osx for i386 which went well.
>> Today I want to build it for x64.
>>
>> Everything went well until glib:
>>
>> *** Configuring glib *** [2/11]
>> ...
>>
>> configure: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)
>> ...
>>
>> checking size of char... 0
>> checking size of short... 0
>> checking size of long... 0
>> checking size of int... 0
>> checking size of void *... 0
>> checking size of long long... 0
>> checking size of __int64... 0
>> configure: error:
>> *** GLib requires a 64 bit type. You might want to consider
>> *** using the GNU C compiler.
>>
>> After this error I tried to rebuild my i386 build, which generates the
>> same errors.
>>
>> Yesterday I upgraded to 10.6.5, I doubt this is the cause.
>> Does anyone know what is the cause of this problem and how to solve it?
>>
>
> Not really enough information. Are you building in separate prefixes and checkoutroots? (You should be.)
>
> The "consider using the GNU C compiler" message is interesting. You didn't set $CC to llvm or clang, did you?
>
> Regards,
> John Ralls
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users



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