gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Installation procedures and paths for third party libraries in


From: Michael Riedl
Subject: Re: [Gm2] Installation procedures and paths for third party libraries in gm2
Date: Wed, 21 Mar 2018 17:52:57 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hallo Gaius,

I have a similar issue. When using my libraries I always have to include stuff explicitly in the Makefile (see attached as an example - I have my GM2 stuff in /usr/local, should change that ;-).

Perhaps - if not already in place - an environment variable indicating where to look for definition files might be of help, also for libraries to be linked "by default". Not sure if that's going in the right direction.

Michael


Am 20.03.2018 um 13:15 schrieb Gaius Mulley:
gm2 -flibs=iso,pim

search the system iso and then pim libraries.  I propose that the driver
is changed so that:

gm2 -flibs=a,b,iso,pim foo.mod

will internally change the search path to:

gm2 -I/opt/gm2/lib/gcc/x86_64-linux-gnu/6.4.0/m2/a \
     -I/opt/gm2/lib/gcc/x86_64-linux-gnu/6.4.0/m2/b \
     -I/opt/gm2/lib/gcc/x86_64-linux-gnu/6.4.0/m2/iso \
     -I/opt/gm2/lib/gcc/x86_64-linux-gnu/6.4.0/m2/pim \
     foo.mod

would this be suitable?

Attachment: Makefile
Description: Text document


reply via email to

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