How to config the GDC on linux target for ARM linux?

FrankLike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 28 05:25:15 PST 2015


On Monday, 28 December 2015 at 13:17:04 UTC, FrankLike wrote:
>> About the first error ("...module wiringPi is in file 
>> 'wiringPi.d' which cannot be read...") - are you sure that the 
>> dfiles are in "./wiringPi/WiringPi/"? The compiler reports 
>> that it can't find them there.
>> You can try copying the WiringPi dfiles in the same folder as 
>> "my.d".
>>
>> About the second error - you need to verify that aa.so 
>> actually has those symbols that the linker reports as 
>> "undefined reference". You can do this with readlelf or nm. 
>> For more info see 
>> here:http://stackoverflow.com/questions/1237575/how-do-i-find-out-what-all-symbols-are-exported-from-a-shared-object

  Thank you,but can you tell me that what is right way to use GDC
  on linux,such as d refer a c lib.
for eacample:
a.d refer  x.h x.c
  how  do you build it by GDC?
  what's your steps?
  How to config the GDC for the third part c libaries and d 
files,such as PATH.

  Thank you,waiting for your answer.




More information about the Digitalmars-d-learn mailing list