Hi All, It didn't work - I am using version 3.5.9 and my application is used the library libsqlite3.so.8.6 but I have no ideas what are the compiler option being used. Any help please. Thanks, JP
________________________________ From: Roger Binns <rog...@rogerbinns.com> To: General Discussion of SQLite Database <sqlite-users@sqlite.org> Sent: Wednesday, April 22, 2009 4:24:15 PM Subject: Re: [sqlite] How to check compiler options being used -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roger Binns wrote: > However the actual compiler flags (eg -O, -DXXX) are not recorded > by default in object files or libraries. If you are using gcc 4.2 or later then you can add -frecord-gcc-switches to the compile line and they will be recorded in a special section in the object file. They will also be combined in any resulting library. For example: $ objdump --full-contents --section .GCC.command.line apsw.o apsw.o: file format elf64-x86-64 Contents of section .GCC.command.line: 0000 2d492f75 73722f69 6e636c75 64652f70 -I/usr/include/p 0010 7974686f 6e322e36 002d492e 002d4973 ython2.6.-I..-Is 0020 716c6974 6533002d 49737263 002d445f qlite3.-Isrc.-D_ 0030 5245454e 5452414e 54002d44 45585045 REENTRANT.-DEXPE 0040 52494d45 4e54414c 002d4453 514c4954 RIMENTAL.-DSQLIT 0050 455f4445 42554700 2d445351 4c495445 E_DEBUG.-DSQLITE 0060 5f544852 45414453 4146453d 31002d44 _THREADSAFE=1.-D [.. it goes on and on ..] Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknvpxsACgkQmOOfHg372QR/uACfZQVBZcaWWM0x2ioRVk2qKfzd m6oAoJ16RZrAnEFbC/SP8SAkbSmXnq7p =1F1J -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users