Re: GCC compiler cannot create executables.
At 02:28 AM 12/6/2002, Ryan Budge wrote: Hello list. Im having some trouble getting gcc working. I am trying to compile the CVS for coldsync but it doesn't work. I have done the same procedures on my BSD 4.7 box and all works fine. I have :- Windows XP Pro. Cygwin 1.3.15-2 Gcc 3.2-3 And others.. In my cvs directory I run :- %autoconf %./configure And I get : - Configure : error : installation or configuration problem : c compiler cannot create executables. I did google but I could not find any real answers. Any ideas. Im attaching the output of cygcheck -c and config.log. Why not attach all the information asked for at http://www.cygwin.com/bugs.html? It looks like the Cygwin gcc package and dependencies are installed. My guess you had some other compiler package installed already and/or some environment variables for the compiler are set in your environment that are getting in the way. That's just a guess of course, since I don't have the output of cygcheck -s -r -v to verify that. If that's not the problem, you might try reinstalling. But now I'm just grasping at straws for ideas. You need to check out your environment/installation. That's definitely where the problem is. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GCC compiler cannot create executables.
On Thursday 05 December 2002 23:28, Ryan Budge wrote: In my cvs directory I run :- %autoconf %./configure And I get : - Configure : error : installation or configuration problem : c compiler cannot create executables. Im attaching the output of cygcheck -c and config.log. Your config.log appears to say that the test gcc command wants to link against libuser32, and it doesn't find that library. Does gcc -v work for you from the command line? Do you have such a library? -- Tim Prince -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GCC compiler cannot create executables.
At 08:54 AM 12/6/2002, Tim Prince wrote: On Thursday 05 December 2002 23:28, Ryan Budge wrote: In my cvs directory I run :- %autoconf %./configure And I get : - Configure : error : installation or configuration problem : c compiler cannot create executables. Im attaching the output of cygcheck -c and config.log. Your config.log appears to say that the test gcc command wants to link against libuser32, and it doesn't find that library. Does gcc -v work for you from the command line? Do you have such a library? Ugh! I should've looked closer at the configure log! Tim's right. You don't have the user32 library. That means you didn't install the w32api package. Your limited cygcheck.out shows this to be the case. Install it. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: GCC compiler cannot create executables.
Hi Tim. Your config.log appears to say that the test gcc command wants to link gainst libuser32, and it doesn't find that library. Does gcc -v work for you from the command line? Do you have such a library? -- Tim Prince gcc -v does work from the command line. Ive attached a screen cap of the window. Sorry... I don't have script like I do in BSD to give the output in text. Or am I being silly... Hi Larry It looks like the Cygwin gcc package and dependencies are installed. My guess you had some other compiler package installed already and/or some environment variables for the compiler are set in your environment that are getting in the way. That's just a guess of course, since I don't have the output of cygcheck -s -r -v to verify that. If that's not the problem, you might try reinstalling. But now I'm just grasping at straws for ideas. You need to check out your environment/installation. That's definitely where the problem is. I have attached the output of cygcheck -s -r -v Thanks for reading. Ryan attachment: gcc-v.png cygcheck-s-r-v.out Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GCC compiler cannot create executables.
On Fri, 6 Dec 2002 16:08:07 +0200 Ryan Budge [EMAIL PROTECTED] wrote: Ive attached a screen cap of the window. Sorry... I don't have script like I do in BSD to give the output in text. Or am I being silly... The latter. You can cut and paste text from a console window in by pressing Alt-Space and following the 'Edit' menu item. If you have enabled fast cut-and-paste in the window/shortcut properties all you need to do is highlight the text with your mouse and press enter to copy the text to the clipboard. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GCC compiler cannot create executables.
On Fri, 6 Dec 2002, Michael A Chase wrote: On Fri, 6 Dec 2002 16:08:07 +0200 Ryan Budge [EMAIL PROTECTED] wrote: Ive attached a screen cap of the window. Sorry... I don't have script like I do in BSD to give the output in text. Or am I being silly... The latter. You can cut and paste text from a console window in by pressing Alt-Space and following the 'Edit' menu item. If you have enabled fast cut-and-paste in the window/shortcut properties all you need to do is highlight the text with your mouse and press enter to copy the text to the clipboard. FWIW, there's also apparently a cygwin port of 'script': http://cygwin.com/ml/cygwin/2002-09/msg01371.html Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GCC compiler cannot create executables.
On Fri, 6 Dec 2002 12:05:24 -0500 (EST) Igor Pechtchanski [EMAIL PROTECTED] wrote: FWIW, there's also apparently a cygwin port of 'script': http://cygwin.com/ml/cygwin/2002-09/msg01371.html It's also easy to redirect STDOUT and STDERR to a file. I found myself doing it often enough that I wrote a script to do it for me. It needs a log/ directory in the current directory or one of its parents. #!/bin/bash # Find nearest log directory and tee log command output to a file there # set -xv log= usage() { if [ 1 -le $# ]; then $rc=$1; shift; else rc=0; fi basename=$(basename $0) msg=\ Send stdout and stderr to a log file If no log file is specified, search for the nearest log/ directory in ./, ../, ../../ until / is reached and generate a file name based on the command name and the current date and time. syntax: $basename [opt] cmd [arg]... Opt: -l log = Log file ($log) Arg: cmd = Command to execute arg = Options and arguments to cmd while [ 1 -le $# ]; do if [ 0 = $rc ]; then echo $1; else echo $1 2; fi shift done if [ 0 = $rc ]; then echo $msg; else echo $msg 2; fi exit $rc } while getopts ':hl:' OPT do case $OPT in l) log=$OPTARG ;; h) usage 0 ;; *) usage 1 Invalid Option: -$OPTARG ;; esac done if [ 1 -lt $OPTIND ]; then shift $(expr $OPTIND - 1); fi # Make sure there is a command name if [ 1 -gt $# ]; then echo No command name exit 1 fi cmd=$(basename $1) # Find log directory and build log file name if [ -z $log ]; then logbase=$PWD while :; do if [ / = $logbase ]; then echo Log directory not found under $PWD exit 1 fi if [ -d $logbase/log -a -w $logbase/log ]; then break; fi logbase=`dirname $logbase` done dt=$(date +%y%m%d_%H%M) log=$logbase/log/$cmd-$dt.log fi echo Log file: $log touch $log echo Dir: '$PWD'$log echo Command: $@ $log $@ 21 | tee -a $log echo Log file: $log -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
GCC compiler cannot create executables.
Hello list. Im having some trouble getting gcc working. I am trying to compile the CVS for coldsync but it doesn't work. I have done the same procedures on my BSD 4.7 box and all works fine. I have :- Windows XP Pro. Cygwin 1.3.15-2 Gcc 3.2-3 And others.. In my cvs directory I run :- %autoconf %./configure And I get : - Configure : error : installation or configuration problem : c compiler cannot create executables. I did google but I could not find any real answers. Any ideas. Im attaching the output of cygcheck -c and config.log. Thanks. Regards, Ryan Budge e-mail : [EMAIL PROTECTED] Mobile : +27 83 415 7926 Fax : +27 8 83 415 7926 cygcheck.out Description: Binary data config.log Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/