Click here to Skip to main content
14,643,704 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gcc configure for hardware Pin
Vaclav_21-Nov-18 15:01
MemberVaclav_21-Nov-18 15:01 
GeneralRe: gcc configure for hardware Pin
Vaclav_21-Nov-18 15:13
MemberVaclav_21-Nov-18 15:13 
GeneralRe: gcc configure for hardware Pin
leon de boer22-Nov-18 5:10
Memberleon de boer22-Nov-18 5:10 
GeneralRe: gcc configure for hardware Pin
Vaclav_22-Nov-18 6:26
MemberVaclav_22-Nov-18 6:26 
GeneralRe: gcc configure for hardware Pin
Richard Andrew x6422-Nov-18 10:08
professionalRichard Andrew x6422-Nov-18 10:08 
GeneralRe: gcc configure for hardware Pin
Vaclav_22-Nov-18 17:28
MemberVaclav_22-Nov-18 17:28 
GeneralRe: gcc configure for hardware Pin
leon de boer22-Nov-18 21:48
Memberleon de boer22-Nov-18 21:48 
GeneralRe: gcc configure for hardware Pin
Vaclav_26-Nov-18 4:09
MemberVaclav_26-Nov-18 4:09 
Leon,
sorry for late reply.
Here is (another) short update .
I may have already said that the only option for crosscompliing is the "prefix"

arm-linux-gnueabihf
so this may be dupe.

With that "prefix" the crosscompiler comes up with -march=arm7...

So I added -march=armv6 ( for Zero) and got this


/usr/arm-linux-gnueabihf/include/c++/5/exception:63:39: sorry, unimplemented: Thumb-1 hard-float VFP ABI
     exception() _GLIBCXX_USE_NOEXCEPT { }
                                       ^
src/subdir.mk:18: recipe for target 'src/Zero.o' failed



Adding -marm gets rid of the problem. I did briefly check what -marm option does and it is related to some switching between things.
Unimportant at this time - I just wanted clean compile.

The "bottom line" _ I can actually run Eclipse and in "debug" perspective I get
"TCF Agent disconnected ' Permission denied. "

I have seen this error long time ago when I started with TCF - turned out to be related to running "TCF Agent " as root.

BUT TCF Agent runs in root as default while using RPi 3B - so the problem MUST be somewhere else.

BTW I am having heck of time using " newest and greatest Eclipse "

I would like to try some other C++ IDE to run in crosscompile / TCF mode instead of Eclipse.

Cheers and thanks.
GeneralRe: gcc configure for hardware Pin
Vaclav_26-Nov-18 6:54
MemberVaclav_26-Nov-18 6:54 
GeneralRe: gcc configure for hardware Pin
Vaclav_29-Nov-18 17:11
MemberVaclav_29-Nov-18 17:11 
GeneralRe: gcc configure for hardware Pin
Vaclav_30-Nov-18 4:44
MemberVaclav_30-Nov-18 4:44 
Questionproblems with pointer to struct Pin
Mohammad Ali Bahar18-Nov-18 23:15
MemberMohammad Ali Bahar18-Nov-18 23:15 
AnswerRe: problems with pointer to struct Pin
CPallini19-Nov-18 0:20
mveCPallini19-Nov-18 0:20 
AnswerRe: problems with pointer to struct Pin
leon de boer19-Nov-18 5:19
Memberleon de boer19-Nov-18 5:19 
GeneralRe: problems with pointer to struct Pin
Mohammad Ali Bahar19-Nov-18 8:47
MemberMohammad Ali Bahar19-Nov-18 8:47 
GeneralRe: problems with pointer to struct Pin
leon de boer19-Nov-18 14:13
Memberleon de boer19-Nov-18 14:13 
AnswerRe: problems with pointer to struct Pin
Joe Woodbury19-Nov-18 18:13
professionalJoe Woodbury19-Nov-18 18:13 
QuestionText Access Pin
Bram van Kampen17-Nov-18 14:49
MemberBram van Kampen17-Nov-18 14:49 
AnswerRe: Text Access Pin
Richard MacCutchan17-Nov-18 21:06
mveRichard MacCutchan17-Nov-18 21:06 
QuestionHow to close a sub Dialogwindow without closing a Parent Dialogwindow in MFC C++ VS2010? Pin
Member 1312800516-Nov-18 22:09
MemberMember 1312800516-Nov-18 22:09 
SuggestionRe: How to close a sub Dialogwindow without closing a Parent Dialogwindow in MFC C++ VS2010? Pin
Richard MacCutchan16-Nov-18 23:20
mveRichard MacCutchan16-Nov-18 23:20 
QuestionRe: How to close a sub Dialogwindow without closing a Parent Dialogwindow in MFC C++ VS2010? Pin
David Crow17-Nov-18 3:57
MemberDavid Crow17-Nov-18 3:57 
AnswerRe: How to close a sub Dialogwindow without closing a Parent Dialogwindow in MFC C++ VS2010? Pin
Bram van Kampen17-Nov-18 14:51
MemberBram van Kampen17-Nov-18 14:51 
QuestionLinked List Problem - K reverse linked list Pin
Member 1405554315-Nov-18 0:04
MemberMember 1405554315-Nov-18 0:04 
AnswerRe: Linked List Problem - K reverse linked list Pin
CPallini15-Nov-18 0:24
mveCPallini15-Nov-18 0:24 

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.