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

Re: Problem building gcc-4.4_4.4.4-6 cross-compiler on unstable



(I've cut the Cc's back to just the list)

Loïc,

Thank you for the bug reporting tips.  I knew there was a specific diff format that was favored, but I couldn't remember what it was.  I will use -u in the future and check out your DIFF alias also.

To answer your question on my "use case" for the alternate prefix.  I am in what may be a relatively common situation of supporting a team of embedded developers working in a generic build environment for application code that gets deployed on top of an embedded system based on the Debian OS.  One of my jobs is to provide the cross compiling toolchain for this embedded environment.  Unfortunately I don't have full control over the generic build environment, and it is not a simple Debian environment. 

Since we use Debian as our embedded operating system environment to deploy this software, it is most safe and effective to use the same version of the compiler and toolchain as is used to build the underlying Debian system.  So I leverage the most excellent Debian cross compiler toolchains for this purpose.  To do this, I need to make the toolchains standalone for use outside of a Debian environment, using an alternate prefix so that they compile for use and install under /opt/.. instead of /usr/.., which is one of the requirements placed on me by the release engineers maintaining those build servers and that build environment.

I'll post my diffs for modification of the binutils makefile next week.  Essentially they are the same removal of the hardcoded '/usr' paths in favor of a $(PF) macro variable to provide an alternate prefix.

Thanks,

-Jim

On 7/2/2010 4:56 PM, Loïc Minier wrote:

 (Taking the liberty to Cc: you in case you arent subscribed :)

 I'd personally love seeing your prefix modification patches (diff -u
 please  ;-) but more importantly I'd love to hear what you use them
 for, what's your use case.

     Thanks,

PS: I use alias diff='LC_ALL=C diff -upTrN'
  


Reply to: