Windows build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
78 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Understanding how projects work (was Re: Windows build)

Paolo Bonzini-2
> you have enabled all the above. thank you.

Thanks for the answer. :-)

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

RE: Re: Windows build

freddie.akeroyd
In reply to this post by Ang BeePeng
>
> Hi,
>
> Still not working. I saw this
>
>
> *** However, this would only work if libtool was able to extract
symbol
> *** lists from a program, using `nm' or equivalent, but libtool could
> *** not find such a program.  So, this module is probably useless.
> *** `nm' from GNU binutils and a full rebuild may help.
>
> Does it help?
>

Hi,

It looks like the issue may be due to parsing the output of the "nm"
command e.g.

    http://music.columbia.edu/pipermail/portaudio/2008-March/008468.html

Maybe it is picking up a command from elsewhere or the "nm" command is
missing? The message you reported above mentions the "nm" command and
may be relevant. Do you see a line like:

   checking command to parse /usr/bin/nm -B output from gcc-4 object...
ok

when you run "configure" or does it say "failed" at the end of such a
line?

If you type:

   which nm

does it report "/usr/bin/nm" or something else? If it doesn't say
"/usr/bin/nm" or says the nm command is missing then this could be the
cause of the problems.

Regards,

Freddie

--
Scanned by iCritical.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

RE: Re: Windows build

Ang BeePeng
Hi.
Thanks for your help.

Yes. It says "failed".
freddie.akeroyd wrote
Do you see a line like:

   checking command to parse /usr/bin/nm -B output from gcc-4 object...
ok

when you run "configure" or does it say "failed" at the end of such a
line?
I get "/usr/bin/nm".
freddie.akeroyd wrote
If you type:

   which nm

does it report "/usr/bin/nm" or something else? If it doesn't say
"/usr/bin/nm" or says the nm command is missing then this could be the
cause of the problems.
Thanks.

Ang Beepeng
Reply | Threaded
Open this post in threaded view
|

Re: Re: Windows build

Paolo Bonzini-2
I'll follow up on [hidden email] and Cc you.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Re: Windows build

Ang BeePeng
Hi Paolo.

I hope you don't mind but I wish to get your update about Windows build gst.
I haven't get your email. No pressure, I'm just concerning about the progress. Thank you so much.

Thanks.

Ang Beepeng

Paolo Bonzini-2 wrote
I'll follow up on libtool@gnu.org and Cc you.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/19/2009 04:41 PM, Ang Beepeng wrote:
> I hope you don't mind but I wish to get your update about Windows build gst.
> I haven't get your email. No pressure, I'm just concerning about the
> progress. Thank you so much.

Sorry, free time has been zero as I moved back to Italy for new year.
Getting better though. :-)

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
In reply to this post by Ang BeePeng
On 12/15/2009 07:05 PM, Ang Beepeng wrote:
>
> Hi.
> Thanks for your help.
>
> Yes. It says "failed".

Can you please send the config.log file?

Thanks,

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi.

Sure, I found three of them:
config.log
config.log
config.log

Thanks.

Ang Beepeng

Paolo Bonzini-6 wrote
On 12/15/2009 07:05 PM, Ang Beepeng wrote:
>
> Hi.
> Thanks for your help.
>
> Yes. It says "failed".

Can you please send the config.log file?

Thanks,

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/22/2009 03:27 PM, Ang Beepeng wrote:
>
> Hi.
>
> Sure, I found three of them:
> http://old.nabble.com/file/p26889166/config.log config.log
> http://old.nabble.com/file/p26889166/config.log config.log
> http://old.nabble.com/file/p26889166/config.log config.log

Please create a file with these lines:

char nm_test_var;
void nm_test_func(void);
void nm_test_func(void){}
int main(){nm_test_var='a';nm_test_func();return(0);}

and do

gcc -g -O2 -c test.c
/usr/bin/nm -B test.o

Also, please send the output of

/bin/sh --version
bash --version

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi,

I get this

GNU bash, version 3.2.49(22)-release (i686-pc-cygwin)
Copyright (C) 2007 Free Software Foundation, Inc.

Thanks.

Ang Beepeng

Paolo Bonzini-6 wrote
Please create a file with these lines:

char nm_test_var;
void nm_test_func(void);
void nm_test_func(void){}
int main(){nm_test_var='a';nm_test_func();return(0);}

and do

gcc -g -O2 -c test.c
/usr/bin/nm -B test.o

Also, please send the output of

/bin/sh --version
bash --version

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
>> Please create a file with these lines:
>>
>> char nm_test_var;
>> void nm_test_func(void);
>> void nm_test_func(void){}
>> int main(){nm_test_var='a';nm_test_func();return(0);}
>>
>> and do
>>
>> gcc -g -O2 -c test.c
>> /usr/bin/nm -B test.o

What about this? :-)

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi,

Sorry, I miss that.

$ /usr/bin/nm -B test.o
00000000 b .bss
00000000 d .data
00000000 N .stab
00000000 N .stabstr
00000000 t .text
         U ___main
         U __alloca
00000010 T _main
00000000 T _nm_test_func
00000010 C _nm_test_var

Thanks.

Ang Beepeng
Paolo Bonzini-6 wrote
>> Please create a file with these lines:
>>
>> char nm_test_var;
>> void nm_test_func(void);
>> void nm_test_func(void){}
>> int main(){nm_test_var='a';nm_test_func();return(0);}
>>
>> and do
>>
>> gcc -g -O2 -c test.c
>> /usr/bin/nm -B test.o

What about this? :-)

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Paolo Bonzini-2
On 12/24/2009 04:28 AM, Ang Beepeng wrote:

> $ /usr/bin/nm -B test.o
> 00000000 b .bss
> 00000000 d .data
> 00000000 N .stab
> 00000000 N .stabstr
> 00000000 t .text
>           U ___main
>           U __alloca
> 00000010 T _main
> 00000000 T _nm_test_func
> 00000010 C _nm_test_var

Please do the same with "/usr/bin/nm -B test.o | sed l".

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Windows build

Ang BeePeng
Hi.


$ /usr/bin/nm -B test.o | sed l
00000000 b .bss$
00000000 b .bss
00000000 d .data$
00000000 d .data
00000000 N .stab$
00000000 N .stab
00000000 N .stabstr$
00000000 N .stabstr
00000000 t .text$
00000000 t .text
         U ___main$
         U ___main
         U __alloca$
         U __alloca
00000010 T _main$
00000010 T _main
00000000 T _nm_test_func$
00000000 T _nm_test_func
00000010 C _nm_test_var$
00000010 C _nm_test_var

Thanks.

Ang beepeng

Paolo Bonzini-6 wrote
Please do the same with "/usr/bin/nm -B test.o | sed l".

Paolo
Reply | Threaded
Open this post in threaded view
|

RE: Windows build

freddie.akeroyd
Hi,

during configure the output of the nm command is piped through sed, but
that seems to be unable to find the symbol. What do you get if you type:

    which sed

and

    sed --version


Also, it might be worth trying

    cygcheck -c > check.txt

and examining "check.txt" to see if any packages report errors

Regards,

Freddie

> -----Original Message-----
> From: help-smalltalk-bounces+freddie.akeroyd=[hidden email]
> [mailto:help-smalltalk-bounces+freddie.akeroyd=[hidden email]] On
> Behalf Of Ang Beepeng
> Sent: 25 December 2009 05:20
> To: [hidden email]
> Subject: Re: [Help-smalltalk] Windows build
>
>
> Hi.
>
>
> $ /usr/bin/nm -B test.o | sed l
> 00000000 b .bss$
> 00000000 b .bss
> 00000000 d .data$
> 00000000 d .data
> 00000000 N .stab$
> 00000000 N .stab
> 00000000 N .stabstr$
> 00000000 N .stabstr
> 00000000 t .text$
> 00000000 t .text
>          U ___main$
>          U ___main
>          U __alloca$
>          U __alloca
> 00000010 T _main$
> 00000010 T _main
> 00000000 T _nm_test_func$
> 00000000 T _nm_test_func
> 00000010 C _nm_test_var$
> 00000010 C _nm_test_var
>
> Thanks.
>
> Ang beepeng
>
>
> Paolo Bonzini-6 wrote:
> >
> >
> > Please do the same with "/usr/bin/nm -B test.o | sed l".
> >
> > Paolo
> >
>
> --
> View this message in context: http://old.nabble.com/Windows-build-
> tp26422111p26919062.html
> Sent from the Gnu - Smalltalk mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
--
Scanned by iCritical.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

RE: Windows build

Ang BeePeng
Hi, thanks for your help.
I got the followings.

    which sed

/usr/bin/sed

    sed --version

GNU sed version 4.1.5

    cygcheck -c > check.txt

I can see that all "OK".
check.txt

Thanks.

Ang Beepeng
Reply | Threaded
Open this post in threaded view
|

RE: Windows build

freddie.akeroyd
Hi,

That all seems OK - the problem must lie elsewhere then.

cygwin released a major update (1.7.1-1) on 23rd December - I've just
updated my installation and smalltalk still builds OK, so it might be
worth updating and seeing if that helps. Also worth removing your old
files and starting with a clean set from git, which will definitely make
sure there are no previous build files around to cause problems (see
http://smalltalk.gnu.org/download/cvs)

Regards,

Freddie

> -----Original Message-----
> From: help-smalltalk-bounces+freddie.akeroyd=[hidden email]
> [mailto:help-smalltalk-bounces+freddie.akeroyd=[hidden email]] On
> Behalf Of Ang Beepeng
> Sent: 05 January 2010 08:43
> To: [hidden email]
> Subject: RE: [Help-smalltalk] Windows build
>
>
> Hi, thanks for your help.
> I got the followings.
>
>     which sed
>
> /usr/bin/sed
>
>     sed --version
>
> GNU sed version 4.1.5
>
>     cygcheck -c > check.txt
>
> I can see that all "OK".
> http://old.nabble.com/file/p27025258/check.txt check.txt
>
> Thanks.
>
> Ang Beepeng
> --
> View this message in context: http://old.nabble.com/Windows-build-
> tp26422111p27025258.html
> Sent from the Gnu - Smalltalk mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
--
Scanned by iCritical.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

RE: Windows build

Ang BeePeng
Hi,

I uninstall cygwin and reinstall with the latest version of cygwin. I still can't get gst to compile successfully. Can I get a compiled gst from anyone?

Besides, can gst build without JIT?

Thanks.

Ang Beepeng
1234