public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Strange errors with gcc and top, even after rebaseall
@ 2017-08-23 21:39 nobodyO
  2017-08-24  2:16 ` cyg Simple
  0 siblings, 1 reply; 10+ messages in thread
From: nobodyO @ 2017-08-23 21:39 UTC (permalink / raw)
  To: cygwin

Hi,
 

i had some strange errors with Cygwin (32bit) and installed it new (all, every package), but even after "/usr/bin/rebase-trigger full" and setup two errors are remaining:
 
1.) top does exit at startup with return code -1. Afterwards everything entered is black, as the background, and backspace is displayed as quadgraph "\177".
 
2.) Linking is not possible, even with a small hello world program:

> make
gcc -o hello.exe hello.o
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: unrecognized option '-plugin'
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: use the --help option for usage information
collect2: Fehler: ld gab 1 als Ende-Status zurueck
make: *** [makefile:6: hello.exe] Fehler 1

 > gcc -fno-use-linker-plugin -o hello.exe hello.o
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: unrecognized option '--build-id'
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: use the --help option for usage information
collect2: Fehler: ld gab 1 als Ende-Status zurueck

> cat makefile
TARGET    = hello.exe
OBJECT_01 = hello.o
SOURCE_01 = hello.c
$(TARGET): $(OBJECT_01)
        gcc -o $(TARGET) $(OBJECT_01)
$(OBJECT_01) : $(SOURCE_01)
        gcc -c $(SOURCE_01) -o $(OBJECT_01)
all : $(TARGET)
clean :
        -rm $(TARGET) $(OBJS)
 

What should i do to eleminate these errors?
 
Regards,
 
Rolf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-29  2:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 21:39 Strange errors with gcc and top, even after rebaseall nobodyO
2017-08-24  2:16 ` cyg Simple
2017-08-24  7:16   ` Aw: " nobodyO
2017-08-24 11:16     ` Eliot Moss
2017-08-25 19:07       ` nobodyO
2017-08-26  3:50         ` Andrey Repin
2017-08-26 17:16         ` Achim Gratz
2017-08-26 21:51           ` Aw: " nobodyO
2017-08-27 13:43             ` cyg Simple
2017-08-29  2:49       ` Kaz Kylheku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).