Click here to Skip to main content
15,844,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gcov linker errors Pin
Richard MacCutchan30-Jan-20 10:55
mveRichard MacCutchan30-Jan-20 10:55 
GeneralRe: gcov linker errors Pin
leon de boer30-Jan-20 22:43
leon de boer30-Jan-20 22:43 
GeneralRe: gcov linker errors Pin
Vaclav_31-Jan-20 6:32
Vaclav_31-Jan-20 6:32 
AnswerSOLVED Re: gcov linker errors Pin
Vaclav_30-Jan-20 11:30
Vaclav_30-Jan-20 11:30 
QuestionPNG image shown is missing 1 pixel right and 1 pixel bottom Pin
sdancer7530-Jan-20 3:53
sdancer7530-Jan-20 3:53 
QuestionRe: PNG image shown is missing 1 pixel right and 1 pixel bottom Pin
Richard MacCutchan30-Jan-20 7:29
mveRichard MacCutchan30-Jan-20 7:29 
AnswerRe: PNG image shown is missing 1 pixel right and 1 pixel bottom Pin
sdancer7530-Jan-20 7:53
sdancer7530-Jan-20 7:53 
QuestionIGNORE THIS !!! file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 6:45
Vaclav_29-Jan-20 6:45 
THIS IS embarrassing
SOMEHOW MY MAIN PROJECT BECAME PLAIN gcc
I NEED TO REVERt BACK TO CROSSCOMPiled GCC
!


Build the library for ARM, easy task in Eclipse ( for a change).
Still no go. missing some option.


Never mind it is simple

the library is compiled on x86 ,
now I need it to compile it for ARM.

Any opposing opinions are welcome.
I wish I could do it on x86.








Any file .a ,or .so perfectly working , and linked using -l / -L , in GCC compiled application CANNOT be accessed in crosscompiled version of the SAME project.

See attached highlighted part of the " make " output text.

Building target: RPI_BT_CLIENT
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -L"/media/z/DEV_COPY_LABEL/ECLIPSE_FOLDER/2019-12/Eclipse_2019_12/eclipse/Workspace_2019_12/RPI_BT_LIB/Debug" -L/media/z/MISC_COPY_LABEL/RPI_library/lib -L"/media/z/DEV_COPY_LABEL/ECLIPSE_FOLDER/2019-12/Eclipse_2019_12/eclipse/Workspace_2019_12/LIB_SHARED/Debug" -
....
bluetooth_sample_SDP.o   -lbluetooth -lLIB_SHARED
.....
/media/z/DEV_COPY_LABEL/ECLIPSE_FOLDER/2019-12/Eclipse_2019_12/eclipse/Workspace_2019_12/LIB_SHARED/Debug/libLIB_SHARED.so: file not recognized: File format not recognized


Does crosscompiler expect some other option ??


Please no more "how to use -l / -L"

modified 29-Jan-20 13:13pm.

AnswerRe: file not recognized: File format not recognized Pin
k505429-Jan-20 7:03
mvek505429-Jan-20 7:03 
GeneralRe: file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 7:44
Vaclav_29-Jan-20 7:44 
GeneralRe: file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 7:58
Vaclav_29-Jan-20 7:58 
GeneralRe: file not recognized: File format not recognized Pin
k505429-Jan-20 8:15
mvek505429-Jan-20 8:15 
GeneralRe: file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 16:39
Vaclav_29-Jan-20 16:39 
Questionreplace words in a file Pin
Member 1295754729-Jan-20 5:19
Member 1295754729-Jan-20 5:19 
AnswerRe: replace words in a file Pin
Victor Nijegorodov29-Jan-20 6:30
Victor Nijegorodov29-Jan-20 6:30 
GeneralRe: replace words in a file Pin
Member 1295754729-Jan-20 6:34
Member 1295754729-Jan-20 6:34 
GeneralRe: replace words in a file Pin
k505429-Jan-20 6:52
mvek505429-Jan-20 6:52 
AnswerRe: replace words in a file Pin
k505429-Jan-20 6:42
mvek505429-Jan-20 6:42 
SuggestionRe: replace words in a file Pin
David Crow29-Jan-20 18:04
David Crow29-Jan-20 18:04 
AnswerRe: replace words in a file Pin
Stefan_Lang29-Jan-20 22:21
Stefan_Lang29-Jan-20 22:21 
QuestionLinking libraries - follow-up- gcc++ won't link Pin
Vaclav_28-Jan-20 5:22
Vaclav_28-Jan-20 5:22 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
Richard MacCutchan28-Jan-20 6:04
mveRichard MacCutchan28-Jan-20 6:04 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
k505428-Jan-20 6:08
mvek505428-Jan-20 6:08 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
CPallini28-Jan-20 6:13
mveCPallini28-Jan-20 6:13 
GeneralRe: Linking libraries - follow-up- gcc++ won't link Pin
k505428-Jan-20 7:47
mvek505428-Jan-20 7:47 

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.