Article View: pl.comp.lang.c
Article #309722Re: Kompilowane nagłówki z GCC (i Clang)
From: Borneq
Date: Sun, 01 Jul 2018 07:45
Date: Sun, 01 Jul 2018 07:45
27 lines
1975 bytes
1975 bytes
W dniu 01.07.2018 o 09:24, Borneq pisze: > na testach wyszło, że pliki skompilowane pliki nagłówkowe są tak wielkie > , że aż nie ma przyśpieszenia. Trzeba będzie poczekać na moduły. Nie, to z innego powodu nie było zysku: uznał że plik gch jest zły i go nie używał. Analysis_my.cpp:4:24: warning: gch_header.h.gch: not used because `__STRICT_ANSI__' not defined [-Winvalid-pch] #include "gch_header.h" jak dodałem #define __STRICT_ANSI__ 1 Analysis_my.cpp:4:24: warning: gch_header.h.gch: not used because `__GLIBCXX_BITSIZE_INT_N_0' is defined [-Winvalid-pch] #include "gch_header.h" To się dzieje, gdy chciałem użyć pliku nagłówkowego: #include "llvm-c/Analysis.h" #include "llvm-c/Initialization.h" #include "llvm/IR/Module.h" #include "llvm/IR/Verifier.h" #include "llvm/InitializePasses.h" #include "llvm/PassRegistry.h" #include "llvm/Support/raw_ostream.h" #include <cstring> aby zobaczyć czy da radę przyśpieszyć w ten sposób budowę LLVM
Technical Details
Message-ID:
<pha0q1$rg3$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<ph7d3u$em3$1@node2.news.atman.pl> <ph98n1$81n$1@node1.news.atman.pl> <ph9vju$qa4$2@node2.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: Kompilowane nagłówki z GCC (i Clang) Date: Sun, 1 Jul 2018 09:45:07 +0200 Organization: ATMAN - ATM S.A. Lines: 27 Message-ID: <pha0q1$rg3$1@node2.news.atman.pl> References: <ph7d3u$em3$1@node2.news.atman.pl> <ph98n1$81n$1@node1.news.atman.pl> <ph9vju$qa4$2@node2.news.atman.pl> NNTP-Posting-Host: public-gprs630544.centertel.pl Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1530431105 28163 5.184.6.81 (1 Jul 2018 07:45:05 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Sun, 1 Jul 2018 07:45:05 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 In-Reply-To: <ph9vju$qa4$2@node2.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit