develooper Front page | perl.perl5.porters | Postings from July 2005

Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils

Andy Dougherty
July 25, 2005 12:01
Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils
Message ID:
On Thu, 10 Jun 2005, Niki W. Waibel wrote:

> # New Ticket Created by  "Niki W. Waibel" 
> # Please include the string:  [perl #36235]
> # in the subject line of all future correspondence about this issue. 
> # <URL: >
> perl on solaris using gcc-3.X and gnu binutils correctly adds -Wl,-E to
> to LDFLAGS. it seems that the detection of the gnu binutils is somehow
> broken if gcc-4.X is used.

The detection is done in hints/  It's quite possible that the 
output of gcc has changed such that the hints file doesn't pick it up 
correctly anymore.

Could you please create a trivial "Hello world" C program and then compile 
it with

	gcc-3.X -v -o hello hello.c > gcc3.out 2>&1
	gcc-3.X -Wl,-V -o hello hello.c > gcc3-Wl.out 2>&1
	gcc-4.0 -v -o hello hello.c > gcc4.out 2>&1
	gcc-4.0 -Wl,-V -o hello hello.c > gcc4-Wl.out 2>&1

(adjusting the exact gcc names as needed.)

and send me the various *.out files?  Then perhaps I can see
why the hints/ file is failing.

    Andy Dougherty Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About