Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
  • * [lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches.
           [not found]   ` <CAMaFG-3HCsKngNE1cNv9PfCFuhnHwsON=T-q084ZjD+1Aj2Zqg@mail.gmail.com>
           [not found]     ` <20130824175909.GA12409@Krystal>
    @ 2013-08-26 14:22     ` Thomas Petazzoni
      1 sibling, 0 replies; 12+ messages in thread
    From: Thomas Petazzoni @ 2013-08-26 14:22 UTC (permalink / raw)
    
    
    Dear Jimmy Durand,
    
    On Sat, 24 Aug 2013 17:34:16 +0200, Jimmy Durand wrote:
    
    > > What feature is this patchset adding that is not covered by the usual
    > > approach ? Or what is it fixing ?
    > >
    > Actually, this is enough for a regular system build, but if you wish to
    > build
    > it in another directory with --prefix=<PATH>, which is the case for cross-
    > compiling, this not enough.
    
    When I hear someone say that --prefix=... is needed for
    cross-compilation, it's usually an indication that the
    cross-compilation is done incorrectly.
    
    --prefix indicates the location where the software will be *executed*
    on the target. So even when you're cross-compiling, the default of
    --prefix=/usr or --prefix=/usr/local is fine.
    
    All what you need to do is pass
    DESTDIR=/your/temporary/location/on/your/build/machine when doing make
    install.
    
    Buildroot (http://buildroot.org), which some of your colleagues at
    OpenWide are using, does cross-compile LTTng without such changes to
    LTTng build system.
    
    Best regards,
    
    Thomas
    -- 
    Thomas Petazzoni, Free Electrons
    Kernel, drivers, real-time and embedded Linux
    development, consulting, training and support.
    http://free-electrons.com
    
    
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread

  • end of thread, other threads:[~2013-08-27 15:02 UTC | newest]
    
    Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <1377160051-12449-1-git-send-email-jimmy.durand.wesolowski@gmail.com>
         [not found] ` <20130822125523.GB26852@Krystal>
         [not found]   ` <CAMaFG-3HCsKngNE1cNv9PfCFuhnHwsON=T-q084ZjD+1Aj2Zqg@mail.gmail.com>
         [not found]     ` <20130824175909.GA12409@Krystal>
    2013-08-24 19:42       ` [lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches Jimmy Durand
    2013-08-26  7:43         ` Jimmy Durand Wesolowski
    2013-08-26 14:24           ` Thomas Petazzoni
    2013-08-26 15:11             ` Mathieu Desnoyers
    2013-08-26 15:14               ` Jimmy Durand Wesolowski
    2013-08-26 15:19                 ` Mathieu Desnoyers
    2013-08-26 15:27                   ` Mathieu Desnoyers
    2013-08-26 15:53                     ` Jimmy Durand Wesolowski
    2013-08-26 16:00                       ` Mathieu Desnoyers
    2013-08-27 15:02                         ` Jimmy Durand Wesolowski
    2013-08-26 15:13             ` Jimmy Durand Wesolowski
    2013-08-26 14:22     ` Thomas Petazzoni
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox