Click here to Skip to main content
14,241,186 members

C / C++ / MFC

 
AnswerRe: triplet or what ? Pin
k505431-Mar-19 6:30
memberk505431-Mar-19 6:30 
GeneralRe: triplet or what ? Pin
Vaclav_31-Mar-19 7:27
memberVaclav_31-Mar-19 7:27 
GeneralRe: triplet or what ? Pin
k505431-Mar-19 8:38
memberk505431-Mar-19 8:38 
AnswerRe: triplet or what ? Pin
Randor 31-Mar-19 8:34
professional Randor 31-Mar-19 8:34 
GeneralRe: triplet or what ? Pin
k505431-Mar-19 8:45
memberk505431-Mar-19 8:45 
GeneralRe: triplet or what ? Pin
Randor 31-Mar-19 9:04
professional Randor 31-Mar-19 9:04 
GeneralRe: triplet or what ? Pin
Vaclav_31-Mar-19 16:20
memberVaclav_31-Mar-19 16:20 
GeneralRe: triplet or what ? Pin
Randor 31-Mar-19 17:21
professional Randor 31-Mar-19 17:21 
Yeah,

Vaclav_ wrote:
If I want to cross-compile - in Eclipse IDE I add "prefix "arm-linux-gnueabi- which translates to "arm-linux-gnueabi-gcc"

Reviewing the config.guess source I can see that it will append libc characteristics.

Vaclav_ wrote:
All this makes the package I am working on useless ( straight from the box) since it does not use the latest version of config.guess in the first place and has "configure" script with no code provisions to analyze the overgrown triplet.
Look, as you probably already know I am primarily a Microsoft technology guy. I left the Linux world over 15 years ago so I am extremely rusty on modern Linux. But I am currently using Linux again on a daily basis and cross-compiling my project so that it will run in Windows, Linux and hopefully any other embedded environments.

Maybe you should try my technique for cross compiling... I just build a quick chroot environment and custom-build the toolchain for whatever platform I am targeting. That's the way I've always cross compiled... but maybe I am using outdated techniques.

Best Wishes,
-David Delaune

[EDIT]

If you are feeling lazy I found an automated script on GitHub that should get you a working build environment for targeting the Raspberry Pi.

Creates a chroot environment for creating custom Raspbian images and cross-compiling programs for the Raspberry Pi.
GeneralRe: triplet or what ? Pin
leon de boer1-Apr-19 0:49
memberleon de boer1-Apr-19 0:49 
QuestionCombination or inheritance Pin
元昊 潘31-Mar-19 5:04
member元昊 潘31-Mar-19 5:04 
AnswerRe: Combination or inheritance Pin
leon de boer31-Mar-19 6:12
memberleon de boer31-Mar-19 6:12 
SuggestionRe: Combination or inheritance Pin
David Crow1-Apr-19 3:31
memberDavid Crow1-Apr-19 3:31 
Questioni really need help with this Pin
Member 1420332729-Mar-19 5:13
memberMember 1420332729-Mar-19 5:13 
GeneralRe: i really need help with this Pin
Richard MacCutchan29-Mar-19 5:58
protectorRichard MacCutchan29-Mar-19 5:58 
AnswerRe: i really need help with this Pin
Victor Nijegorodov29-Mar-19 6:43
memberVictor Nijegorodov29-Mar-19 6:43 
GeneralRe: i really need help with this Pin
Member 142033272-Apr-19 4:14
memberMember 142033272-Apr-19 4:14 
QuestionRe: i really need help with this Pin
David Crow29-Mar-19 9:24
memberDavid Crow29-Mar-19 9:24 
AnswerRe: i really need help with this Pin
Member 1420332730-Mar-19 3:52
memberMember 1420332730-Mar-19 3:52 
GeneralRe: i really need help with this Pin
k505430-Mar-19 4:48
memberk505430-Mar-19 4:48 
GeneralRe: i really need help with this Pin
Member 142033272-Apr-19 4:13
memberMember 142033272-Apr-19 4:13 
SuggestionRe: i really need help with this Pin
David Crow30-Mar-19 5:33
memberDavid Crow30-Mar-19 5:33 
AnswerRe: i really need help with this Pin
Gerry Schmitz29-Mar-19 10:40
mveGerry Schmitz29-Mar-19 10:40 
AnswerRe: i really need help with this Pin
Vaclav_1-Apr-19 15:43
memberVaclav_1-Apr-19 15:43 
QuestionPutting declared const into a print statement Pin
SEmmett28-Mar-19 10:45
memberSEmmett28-Mar-19 10:45 
AnswerRe: Putting declared const into a print statement Pin
k505428-Mar-19 11:01
memberk505428-Mar-19 11:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.