PR# 18991 Build for Raspberry PI

Problem Report Summary
Submitter: andersoxie
Category: C Compilation
Priority: High
Date: 2014/11/19
Class: Bug
Severity: Serious
Number: 18991
Release: 14.05
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36
Synopsis: Build for Raspberry PI

Description
This script does not support Rapberry PI 

$(ISE_LIBRARY)/library/api_wrapper/implementation/unix/Clib/dl-config

One need to add:

                if echo "$ISE_PLATFORM" | grep "raspbian" >/dev/null 2>&1; then
                        echo -ldl
                fi
To Reproduce

										
Problem Report Interactions
From:manus_eiffel    Date:2014/11/19    Download   
I see, this is for cross-compilation. I'll check with the author to see if he can use `linux-armv6' instead of `raspbian'.

From:andersoxie    Date:2014/11/19    Download   
At this page:

https://github.com/tioui/Eiffel_Spec/blob/master/raspbian-spec/README.md#compilation-of-the-eiffelstudio-cross-compiler-for-raspberry-pi


At the end of the page also

it says raspbian-armv6

From:andersoxie    Date:2014/11/19    Download   
I do not remember. It was when we tried it beginning of this year. You told me that it was wrong in that file and I changed it and when I now noticed the same problem when upgrading to 14.05 for that computer building Raspberry PI I thought I begtter submitt a report.

From:manus_eiffel    Date:2014/11/19    Status: Analyzed    Download   
All our Linux platforms should be called `linux-....' and the script would handle this properly. How come do you have `raspbian'? Note that for Raspberry Pi, the platform is actually called `linux-armv6'.