Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Couldn't install COCOTRON in MacBook
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joyce Wu  
View profile  
 More options Oct 15 2012, 4:37 am
From: Joyce Wu <joycew...@gmail.com>
Date: Mon, 15 Oct 2012 01:37:05 -0700 (PDT)
Local: Mon, Oct 15 2012 4:37 am
Subject: Couldn't install COCOTRON in MacBook

Hello everyone,

I plan to port my xcode app to windows, and googling showed that cocotron
is the right solution.
My xcode is 4.3.1 and Mac OS X 10.7.4.

I follow tutorial from this
link http://lacquer.fi/pauli/blog/2012/02/win-win-with-cocotron-part-1/,
everything looks fine, until I ran this command,
 $sudo ./install.sh

where I got below errors,

Password:
No download needed for
/Developer/Cocotron/1.0/Downloads/mingwrt-3.20-mingw32-dev.tar.gz
No download needed for
/Developer/Cocotron/1.0/Downloads/w32api-3.17-2-mingw32-dev.tar.gz
-n Unarchiving
/Developer/Cocotron/1.0/Downloads/mingwrt-3.20-mingw32-dev.tar.gz ...
 done.
-n Unarchiving
/Developer/Cocotron/1.0/Downloads/w32api-3.17-2-mingw32-dev.tar.gz ...
 done.
No download needed for
/Developer/Cocotron/1.0/Downloads/gcc-4.3.1-02242010.tar.bz2
No download needed for /Developer/Cocotron/1.0/Downloads/gmp-4.2.3.tar.bz2
No download needed for
/Developer/Cocotron/1.0/Downloads/binutils-2.21-20111025.tar.gz
No download needed for /Developer/Cocotron/1.0/Downloads/mpfr-2.3.2.tar.bz2
-n Unarchiving /Developer/Cocotron/1.0/Downloads/gcc-4.3.1-02242010.tar.bz2
...
 done.
-n Unarchiving
/Developer/Cocotron/1.0/Downloads/binutils-2.21-20111025.tar.gz ...
 done.
-n Unarchiving /Developer/Cocotron/1.0/Downloads/gmp-4.2.3.tar.bz2 ...
 done.
-n Unarchiving /Developer/Cocotron/1.0/Downloads/mpfr-2.3.2.tar.bz2 ...
 done.
Configuring, building and installing binutils 2.21-20111025
/Developer/Cocotron/1.0/build/Windows/i386/binutils-2.21-20111025
~/Desktop/InstallCDT-2011-12-27
checking build system type... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking target system type... i386-pc-mingw32msvc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in
`/Developer/Cocotron/1.0/build/Windows/i386/binutils-2.21-20111025':
configure: error: C compiler cannot create executables
See `config.log' for more details.

And the content of config.log is as beneath,

running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
  $ /Developer/Cocotron/1.0/Source/binutils-2.21-20111025/configure
--prefix=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1
--target=i386-mingw32msvc
Kernel configured for up to 2 processors.
configure:2197: checking build system type
configure:2211: result: i386-apple-darwin11.4.0
configure:2258: checking host system type
configure:2271: result: i386-apple-darwin11.4.0
configure:2291: checking target system type
configure:2304: result: i386-pc-mingw32msvc
configure:2358: checking for a BSD-compatible install
configure:2426: result: /usr/bin/install -c
configure:2437: checking whether ln works
configure:2459: result: yes
configure:2463: checking whether ln -s works
configure:2467: result: yes
configure:2474: checking for a sed that does not truncate output
configure:2538: result: /usr/bin/sed
configure:2547: checking for gawk
configure:2577: result: no
configure:2547: checking for mawk
configure:2577: result: no
configure:2547: checking for nawk
configure:2577: result: no
configure:2547: checking for awk
configure:2563: found /usr/bin/awk
configure:2574: result: awk
configure:3858: checking for gcc
configure:3874: found /usr/bin/gcc
configure:3885: result: gcc
configure:4114: checking for C compiler version
configure:4123: gcc --version >&5
configure:4134: $? = 0
configure:4123: gcc -v >&5
Configured with: ../gcc-4.7-20120204/configure
--enable-languages=c,c++,fortran
configure:4134: $? = 0
configure:4123: gcc -V >&5
configure:4134: $? = 1
configure:4123: gcc -qversion >&5
configure:4134: $? = 1
configure:4154: checking for C compiler default output file name
configure:4176: gcc -m32 -Wformat=0 -Wno-error=deprecated-declarations  
conftest.c  >&5
configure:4180: $? = 1
configure:4217: result:
configure: failed program was:
configure:4223: error: in
`/Developer/Cocotron/1.0/build/Windows/i386/binutils-2.21-20111025':
configure:4227: error: C compiler cannot create executables
CONFIGURE_GDB_TK=''
TOPLEVEL_CONFIGURE_ARGUMENTS='/Developer/Cocotron/1.0/Source/binutils-2.21- 20111025/configure
--prefix=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1
--target=i386-mingw32msvc'
extra_host_libiberty_configure_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
configure: exit 77

Could someone please tell me what's wrong? What's the right steps to
install CDT?

Thanks you advanced.

Regards,

Joyce


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Schmielau  
View profile  
 More options Oct 16 2012, 4:23 am
From: Tim Schmielau <tim.schmie...@gmail.com>
Date: Tue, 16 Oct 2012 01:23:41 -0700 (PDT)
Local: Tues, Oct 16 2012 4:23 am
Subject: Re: Couldn't install COCOTRON in MacBook

On Monday, October 15, 2012 9:37:05 AM UTC+1, Joyce Wu wrote:
> configure:4123: gcc -v >&5
> Configured with: ../gcc-4.7-20120204/configure
> --enable-languages=c,c++,fortran

You appear to have a gcc installed somewhere that is not configured to
support objective-C. Make sure to remove it from PATH so that the system
gcc supplied by Apple is found instead, which has objc support compiled in.
The output produced by gcc -v should then have
"--enable-languages=c,objc,c++,obj-c++" somewhere in it. Then start a new
install.

Tim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pauli Ojala  
View profile  
 More options Oct 17 2012, 4:21 am
From: Pauli Ojala <pa...@lacquer.fi>
Date: Wed, 17 Oct 2012 01:21:29 -0700 (PDT)
Local: Wed, Oct 17 2012 4:21 am
Subject: Re: Couldn't install COCOTRON in MacBook

On Tuesday, October 16, 2012 11:23:41 AM UTC+3, Tim Schmielau wrote:

> On Monday, October 15, 2012 9:37:05 AM UTC+1, Joyce Wu wrote:

>> configure:4123: gcc -v >&5
>> Configured with: ../gcc-4.7-20120204/configure
>> --enable-languages=c,c++,fortran

> You appear to have a gcc installed somewhere that is not configured to
> support objective-C.

That should not be the problem, as Joyce is trying to build the Cocotron
cross-compiler gcc, which doesn't require Objective-C. There is a
long-standing problem with compiling gcc using Apple's standard llvm
compiler, hence my tutorial's instructions to use another compiler instead
to build gcc for Cocotron. Joyce appears to be using the "HPC"
(http://hpc.sourceforge.net/ ) gcc build, which has worked for me in the
past.

Joyce, are you on Mountain Lion? If so, that might be the issue: the HPC
GCC installer provided in my tutorial is perhaps not compatible with
Mountain Lion (10.8 was not out when I wrote the tutorial).

On the HPC GCC page, they appear to have a build specifically for Mountain
Lion:
http://hpc.sourceforge.net/

It's the download labelled "gcc-mlion.tar.gz (4.8)". You could install this
version of GCC and see if it works.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »