bug-gnu-utils
[Top][All Lists]
Advanced

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

Using UNIX shell environment variables in LD


From: Zandberg Oren-BOZ002
Subject: Using UNIX shell environment variables in LD
Date: Thu, 27 Dec 2001 11:55:19 +0200

Hello all,

My name is Oren Zandberg and I work in Motorola Communication Israel.

In my project we are using the rce-gnu compiler based on the gcc 2.7.2.

We are using an LD file to relocate objects & variables in the available 
memory space.
Some of the needed files are taken "hard" coded using full path.

My question is:
         1) If I have a UNIX environment variable called "HOST_ROOT",
        which specified the starting path of each object (the VOB
        mount point for instance), I would have wanted to use it in 
        the LD file, as in UNIX shell:  
                $(HOST_ROOT)/dir_1/file1.o(*.text).

        The current state is that I need to write:
                /vob/<Continued Path>/dir_1/file1.o(*.text).

        Do you knows about any kind of solution for that ?

Thanks you very much in advance for any replay !!

> Best regards,
>                                \|/
>                               (o o)
> ==========================oOO==(_)==OOo=============================
>  Oren Zandberg                   | Mailto:address@hidden
>  Digital Radio Systems          | Mailto:address@hidden
>  Motorola Communications Israel | Phone:  +(972)-3-565-8023
>  3 Kremenetski Street           | MIRS:   +(972)-57-78-3341
>  67899 Tel-Aviv, ISRAEL         | Fax:    +(972)-3-565-9131
> 
> 



reply via email to

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