gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] search lib path for c-library (gforth 0.7.2)


From: Bernd Paysan
Subject: Re: [gforth] search lib path for c-library (gforth 0.7.2)
Date: Fri, 26 Apr 2013 15:33:09 +0200
User-agent: KMail/4.10.2 (Linux/3.7.10-1.1-desktop; KDE/4.10.2; x86_64; ; )

Am Freitag, 26. April 2013, 15:12:51 schrieb Cyrille Duret:
> hello everybody,
> I am looking for a way to indicate the lib path of gcc while gforth is
> compiling a c-library
> 
> I have tried export CFLAGS=-L/usr/local/lib but the linker still complain
> he not find my lib.
> 
> I have seen in the last development version you have added the word
> add-libpath but for now it seems that this version is a bit buggy for
> freeBSD.

Bug reports please!

> Any solution for the 0.7.2 version ?

: add-libpath ( c-addr1 u1 node -- c-addr2 u2 )
    \ append " -L<nodelib>" to string1
    >r s"  -L" append r> c-lib-string 2@ append ;

should do it for 0.7.2.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]