change dynext linker search to gcc;cc instead of just cc
svn: r7059
This commit is contained in:
parent
f7a942b0b7
commit
b3821d8d82
|
@ -27,15 +27,17 @@
|
||||||
(find-executable-path "ilink32.exe" #f)))
|
(find-executable-path "ilink32.exe" #f)))
|
||||||
|
|
||||||
(define (get-unix-linker)
|
(define (get-unix-linker)
|
||||||
(let ([s (case (string->symbol (path->string (system-library-subpath #f)))
|
(let ([l (case (string->symbol (path->string (system-library-subpath #f)))
|
||||||
[(sparc-solaris i386-solaris
|
[(sparc-solaris i386-solaris
|
||||||
sparc-sunos4
|
sparc-sunos4
|
||||||
i386-freebsd-2.x
|
i386-freebsd-2.x
|
||||||
parisc-hpux
|
parisc-hpux
|
||||||
i386-cygwin)
|
i386-cygwin)
|
||||||
"ld"]
|
'("ld")]
|
||||||
[else "cc"])])
|
[else '("gcc" "cc")])])
|
||||||
(find-executable-path s s)))
|
(ormap (lambda (s)
|
||||||
|
(find-executable-path s #f))
|
||||||
|
l)))
|
||||||
|
|
||||||
(define (check-valid-linker-path v)
|
(define (check-valid-linker-path v)
|
||||||
(unless (and (file-exists? v)
|
(unless (and (file-exists? v)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user