[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-dev
Subject:    [Orocos-Dev] [Bug 36] New: Cross compilation does no longer work from configtool settings
From:       orocos-bugzilla () fmtc ! be (orocos-bugzilla () fmtc ! be)
Date:       2006-02-24 13:53:09
Message-ID: bug-36-4 () http ! www ! fmtc ! be/orocos-bugzilla/
[Download RAW message or body]

http://www.fmtc.be/orocos-bugzilla/show_bug.cgi?id=36

           Summary: Cross compilation does no longer work from configtool
                    settings
           Product: Orocos
           Version: orocos-trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build System
        AssignedTo: orocos-dev@lists.mech.kuleuven.be
        ReportedBy: peter.soetens@fmtc.be


I'm cross-compiling the orocos-trunk, so I enter the command_prefix in the
configuration. The prefix is accepted and the makefiles in the package dir
contain:
...
export COMMAND_PREFIX := nios2-elf-
export CC := $(COMMAND_PREFIX)gcc
...

But in compile-time gcc is used. Sniffing around in Makefile in the build-tree
(where 'make all_packages' is issued) and changed '{ $(MAKE) -C . CC=$(CC) ||
exit -1; } &&\' to { $(MAKE) -C . || exit -1; } && \' in the packages target.
Now my cross-compiler is used.

This is for trunk, with 0.19.3 the worked just fine.


-- 
Configure bugmail: http://www.fmtc.be/orocos-bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic