bug-texinfo
[Top][All Lists]
Advanced

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

Re: Cross compiling texinfo-4.7


From: Mark Fortescue
Subject: Re: Cross compiling texinfo-4.7
Date: Mon, 18 Oct 2004 18:45:12 +0100 (BST)

Hi All,

'env -i' clears all of the environment including PATH (at least that is
what hapens on my RadHat system) so PATH bust be passed across to the new
environment or you will not find anything (like gcc, ld etc.).

Why do I clear the hole environment ?
I think it is easier then trying to work out exactly which environment 
variables to reset.

Potential issues: LD_LIBRARY_PATH on my system is empty but this may not
always be the case. Maybe this should be passed across to the new
environment as well.   

Note: My host gcc is not in the usual place to the host configure needs to
have my PATH. The 'eggs gcc' supplied with RedHat 6 has a number of misc
issues and does not support ADA.

Regards
        Mark Fortescue.

On Mon, 18 Oct 2004, Karl Berry wrote:

>     I see no need to pass PATH
>               to secondary configure by ``env,'' it should be exported.
> 
> With env -i, it seems PATH, HOME, etc., are explicitly cleared.
> 
> (I'll wait to install this patch until this part is settled.)
> 
>     To fix this, my code did:
>             rm -f config.status; cd $native_tools
> 
> Thanks,
> k
> 
> 





reply via email to

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