michelcandido / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

Fix build enviroment for 'linux' native builds #156

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Fix the build enviroment to allow easy building as a Linux native application.

I suggest that this current 'linux' option be renamed to 'linux-iphone', which 
is for cross-building a iPhone application on a Linux machine.

Simon

Original issue reported on code.google.com by mungew...@gmail.com on 13 May 2011 at 4:12

GoogleCodeExporter commented 8 years ago
Adds supports for a native linux build. You can specify this using the 
'--target=native' option for configure. 

'--target' seems to be defaultly set to 'iphone' so these changes should not 
affect other users.

Original comment by mungew...@gmail.com on 17 May 2011 at 4:25

Attachments:

GoogleCodeExporter commented 8 years ago
and the makefile needs adjustment

Original comment by mungew...@gmail.com on 17 May 2011 at 4:29

Attachments:

GoogleCodeExporter commented 8 years ago
hi simon. without --target, it should build for native (and it does on mac as 
far as I remember). I just didn't check someone else's patch to fix 
--target=iphone compilation on linux. 

Original comment by matthias.ringwald@gmail.com on 17 May 2011 at 7:36

GoogleCodeExporter commented 8 years ago
hi simon. I cleaned up the build that a plain configure && make will work on 
Ubuntu 10.10 (and all others too). I didn't have chance to test it, but it 
compiles at least. Could you give it a quick try?

Original comment by matthias.ringwald@gmail.com on 4 Jun 2011 at 3:37