![]() |
2011-07-02
, 09:33
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#2
|
![]() |
2011-07-02
, 13:20
|
Posts: 3 |
Thanked: 1 time |
Joined on Jun 2011
|
#3
|
The -march switch would be armv7-a (with the A standing for the A in Cortex-A8.
The Following User Says Thank You to vbar For This Useful Post: | ||
I'd like to use gcc intrinsics for atomic memory access (__sync_lock_test_and_set etc.) in my application, but under scratchbox, a program with them doesn't link. Googling shows it's a known gcc problem, which
a) may be solved by using the correct -march switch - which would be the right value for Maemo? or
b) may not be solvable on ARM, since it (generally - not always) doesn't support the necessary atomic instructions.
So, did anybody need atomic variables on Maemo? How did you go about getting them?