Click here to Skip to main content
15,886,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gcov linker errors Pin
Richard MacCutchan30-Jan-20 9:55
mveRichard MacCutchan30-Jan-20 9:55 
GeneralRe: gcov linker errors Pin
leon de boer30-Jan-20 21:43
leon de boer30-Jan-20 21:43 
GeneralRe: gcov linker errors Pin
Vaclav_31-Jan-20 5:32
Vaclav_31-Jan-20 5:32 
AnswerSOLVED Re: gcov linker errors Pin
Vaclav_30-Jan-20 10:30
Vaclav_30-Jan-20 10:30 
QuestionPNG image shown is missing 1 pixel right and 1 pixel bottom Pin
sdancer7530-Jan-20 2:53
sdancer7530-Jan-20 2:53 
QuestionRe: PNG image shown is missing 1 pixel right and 1 pixel bottom Pin
Richard MacCutchan30-Jan-20 6:29
mveRichard MacCutchan30-Jan-20 6:29 
AnswerRe: PNG image shown is missing 1 pixel right and 1 pixel bottom Pin
sdancer7530-Jan-20 6:53
sdancer7530-Jan-20 6:53 
QuestionIGNORE THIS !!! file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 5:45
Vaclav_29-Jan-20 5: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 6:03
mvek505429-Jan-20 6:03 
GeneralRe: file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 6:44
Vaclav_29-Jan-20 6:44 
GeneralRe: file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 6:58
Vaclav_29-Jan-20 6:58 
GeneralRe: file not recognized: File format not recognized Pin
k505429-Jan-20 7:15
mvek505429-Jan-20 7:15 
GeneralRe: file not recognized: File format not recognized Pin
Vaclav_29-Jan-20 15:39
Vaclav_29-Jan-20 15:39 
Questionreplace words in a file Pin
Member 1295754729-Jan-20 4:19
Member 1295754729-Jan-20 4:19 
AnswerRe: replace words in a file Pin
Victor Nijegorodov29-Jan-20 5:30
Victor Nijegorodov29-Jan-20 5:30 
GeneralRe: replace words in a file Pin
Member 1295754729-Jan-20 5:34
Member 1295754729-Jan-20 5:34 
GeneralRe: replace words in a file Pin
k505429-Jan-20 5:52
mvek505429-Jan-20 5:52 
AnswerRe: replace words in a file Pin
k505429-Jan-20 5:42
mvek505429-Jan-20 5:42 
SuggestionRe: replace words in a file Pin
David Crow29-Jan-20 17:04
David Crow29-Jan-20 17:04 
AnswerRe: replace words in a file Pin
Stefan_Lang29-Jan-20 21:21
Stefan_Lang29-Jan-20 21:21 
QuestionLinking libraries - follow-up- gcc++ won't link Pin
Vaclav_28-Jan-20 4:22
Vaclav_28-Jan-20 4:22 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
Richard MacCutchan28-Jan-20 5:04
mveRichard MacCutchan28-Jan-20 5:04 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
k505428-Jan-20 5:08
mvek505428-Jan-20 5:08 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
CPallini28-Jan-20 5:13
mveCPallini28-Jan-20 5:13 
GeneralRe: Linking libraries - follow-up- gcc++ won't link Pin
k505428-Jan-20 6:47
mvek505428-Jan-20 6: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.