jgaeddert / liquid-dsp

digital signal processing library for software-defined radios
http://liquidsdr.org
MIT License
1.82k stars 426 forks source link

cross compilation fails when generating tables #56

Open florianh80 opened 7 years ago

florianh80 commented 7 years ago

Hi, I tried to cross-compile liquid-dsp library using PTXDIST. Everything works as expected until the build process want's to execute reverse_byte_gentab. The executeable is build for the target architecture, but tries to run on my host architecture. So the reverse_byte_gentab executeable need so be compiled by the host compiler. I'm not familar enough with autotools so i don't know how i may change this behaviour.

Greetings, Florian

jgaeddert commented 7 years ago

Florian, Thanks for the tip. I was thinking about this just the other day. Originally I had thought I would be generating a lot of tables along these lines, but it really does mess up the build process and doesn't add a lot of value here. Probably the best solution would be for me to have them pre-generated in a file rather than trying to generate them on the fly.