egcs-1.1.2: gcc seems to use direcory "ld" as linker
Jeffrey A Law
law@cygnus.com
Wed Jun 23 13:23:00 GMT 1999
In message < m10wj6h-000inwC@ra >you write:
> this happens on redhat-6.0 with egcs-1.1.2-12 installed:
>
> $ mkdir foo
> $ cd foo
> $ echo 'main(){return 0;}' > bar.c
> $ /usr/bin/gcc -o bar bar.c
> $ mkdir ld
> $ /usr/bin/gcc -o bar bar.c
> collect2: ld returned 33 exit status
Take "." out of your path. Or at least put it at the end of your path. You're
a wonderful candidate for a trojan horse right now.
jeff
>
> --
> schludi@syscomp.de
>
More information about the Gcc-bugs
mailing list