Changeset 550
- Timestamp:
- 06/18/08 09:43:00 (5 months ago)
- Files:
-
- trunk/pcc/compiler/target.scm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pcc/compiler/target.scm
r518 r550 149 149 '())) 150 150 (run-startup-functions) 151 (set! *PHP-FILE* "Interactive shell") 152 (set! *PHP-LINE* 0) 151 153 (print "Interactive shell") 152 154 (let loop () … … 747 749 (or (target-option commandline-libs:) '())))))) 748 750 751 (define-macro (bigloo-user-lib) 752 `',*bigloo-user-lib*) 753 749 754 (define (standalone-link-libs) 750 755 (let ((libs '()) … … 788 793 (cond-expand 789 794 (PCC_MINGW 795 ; 796 ; XXX can we use bigloo-user-lib here? 797 ; 790 798 ;; these are needed for the profiler, which uses gettimeofday 791 799 ;; and ws2_32 is needed by libbigloo. If the standard extension … … 793 801 ;; since it uses them too. 794 802 (set! libs (cons* "-lws2_32" "-lgw32c" "-lole32" "-luuid" libs))) 795 (PCC_FREEBSD796 ;; FreeBSD doesn't use -ldl797 (set! libs (cons* "-lm" libs)))803 ; 804 ; use libs listed in *bigloo-user-lib* 805 ; 798 806 (else 799 ; Linux 800 (set! libs (cons* "-lm" "-ldl" libs)))) 807 (append! libs (bigloo-user-lib)))) 808 809 ; (PCC_FREEBSD 810 ; ;; FreeBSD doesn't use -ldl 811 ; (set! libs (cons* "-lm" libs))) 812 ; (else 813 ; ; Linux 814 ; (set! libs (cons* "-lm" "-ldl" libs)))) 801 815 802 816 ;; voodoo.
