You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "nikitos1550 (via GitHub)" <gi...@apache.org> on 2023/02/17 07:37:37 UTC

[GitHub] [mynewt-nimble] nikitos1550 opened a new issue, #1463: porting/nimble/Makefile.defs C and LD flags issue

nikitos1550 opened a new issue, #1463:
URL: https://github.com/apache/mynewt-nimble/issues/1463

   Hello! 
   There is such lines in `porting/nimble/Makefile.defs`:
   ```
   [CUT]
   
   # For now this is required as there are places in NimBLE
   # assumingthat pointer is 4 bytes long.
   NIMBLE_CFLAGS := -m32
   NIMBLE_LDFLAGS := -m32
   [CUT]
   ```
   
   I am cross compiling sample linux application for ARM Cortex-A7 and my toolchain does not recognize `-m32` option, as it is already 32bit (I know about nimble 64bit issue).
   
   Is it possible to change `porting/nimble/Makefile.defs` with something like this:
   ```
   NIMBLE_CFLAGS ?= -m32
   NIMBLE_LDFLAGS ?= -m32
   ```
   then it will follow same behavior as before, but I can override these vars in my application Makefile.
   Of course I can patch nimble sources, but It will be nice if it support such _customization_ out of the box.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-nimble] nikitos1550 commented on issue #1463: porting/nimble/Makefile.defs C and LD flags issue

Posted by "nikitos1550 (via GitHub)" <gi...@apache.org>.
nikitos1550 commented on issue #1463:
URL: https://github.com/apache/mynewt-nimble/issues/1463#issuecomment-1434284803

   Also I realized that I can simply remove usage for this vars in my local Makefile, but anyway I need somebody comment on this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-nimble] nikitos1550 closed issue #1463: porting/nimble/Makefile.defs C and LD flags issue

Posted by "nikitos1550 (via GitHub)" <gi...@apache.org>.
nikitos1550 closed issue #1463: porting/nimble/Makefile.defs C and LD flags issue
URL: https://github.com/apache/mynewt-nimble/issues/1463


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-nimble] sjanc commented on issue #1463: porting/nimble/Makefile.defs C and LD flags issue

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc commented on issue #1463:
URL: https://github.com/apache/mynewt-nimble/issues/1463#issuecomment-1438301553

   Initially that host port was only used on x86 linux and thus -m32.    I'm fine with improving makefiles to cover also other usecases.  But note that running on 64bit may require reviewing nimble host code for assumptions that pointer is 32bit long


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org