Re: Libtool and .s file

2021-04-05 Thread Benoit Gschwind
Thank you :) Le lundi 05 avril 2021 à 04:33 -0400, Mike Frysinger a écrit : > On 05 Apr 2021 09:35, Benoit Gschwind wrote: > > Thank you for the highlight. > > > > Is .incbin considedred as preprocessor instruction ? > > if you're using assembler directives like .incbin, that isn't > preproces

Re: Libtool and .s file

2021-04-05 Thread Mike Frysinger
On 05 Apr 2021 09:35, Benoit Gschwind wrote: > Thank you for the highlight. > > Is .incbin considedred as preprocessor instruction ? if you're using assembler directives like .incbin, that isn't preprocessing, so .s is OK. usually when people say -I from CFLAGS/CXXFLAGS, they want the preprocess

Re: Libtool and .s file

2021-04-05 Thread Benoit Gschwind
Hello, Thank you for the highlight. Is .incbin considedred as preprocessor instruction ? if yes I will considere using .S file. Best regards. Le lundi 05 avril 2021 à 02:53 -0400, Mike Frysinger a écrit : > On 02 Apr 2021 12:54, Benoit Gschwind wrote: > > I trying to build a project that inclu

Re: Libtool and .s file

2021-04-04 Thread Mike Frysinger
On 02 Apr 2021 12:54, Benoit Gschwind wrote: > I trying to build a project that include assembler file ".s". > > Libtool seems to work with them and call gcc as follow: > > /bin/sh ../libtool--mode=compile gcc -Og -ggdb -march=native -c -o > myfile.lo ../../src/myfile.s > > But it does not

Re: Libtool and .s file

2021-04-02 Thread Benoit Gschwind
Hello, After inspecting the generated Makefile I found out the AM_CCASFLAGS that work for me :) Best regards Le vendredi 02 avril 2021 à 12:54 +0200, Benoit Gschwind a écrit : > Hello, > > I trying to build a project that include assembler file ".s". > > Libtool seems to work with them and ca