Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Ticket #25 (closed defect: fixed)

Opened 18 years ago

Last modified 18 years ago

Not finding Linux linker tool

Reported by: JJR Assigned to: derek
Priority: Must be next Component: core
Version: 3.0 Severity: blocker
Keywords: Cc:

Description

On Linux, I type in:

build foo.d	

and get this error:

Error: build:Cannot find application '/home/john/bin/gcc' to run 

It shouldn't be looking in my local shell path. Or, I should say, build shouldn't be looking only in my local shell path. It should be looking in the system path.

If I type gcc on the command line, gcc is completely accessible... just not through build.

Change History

06/08/06 04:34:55 changed by Derek Parnell

  • status changed from new to closed.
  • resolution set to fixed.

It was forming the canonical name for the file name as supplied before trying to see if it was in the PATH list. The tool now scans the PATH list if a relative file name is supplied.