<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to have the include -I in cc to include more than one direcory? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432220#M728892</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Too specify different directories fot the linker to search in, use '-Ldirectory' different times.&lt;BR /&gt;&lt;BR /&gt;So in your case:&lt;BR /&gt;-L. -L/home/Application/Include&lt;BR /&gt;&lt;BR /&gt;The lower caps 'l' is to specify the libraries. The same rule is true here. If you need more than one librarie, use multiple '-l' switches.&lt;BR /&gt;&lt;BR /&gt;This should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Rik&lt;BR /&gt;</description>
    <pubDate>Sat, 22 Jul 2000 05:35:32 GMT</pubDate>
    <dc:creator>RikTytgat</dc:creator>
    <dc:date>2000-07-22T05:35:32Z</dc:date>
    <item>
      <title>How to have the include -I in cc to include more than one direcory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432219#M728891</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I have some header files in the current directory and some header files in another directory, e.g. /home/Application/Include/,&lt;BR /&gt;I do not know how to specify in the -I. when I use cc to have two directories to be the include dirs to be searched for.&lt;BR /&gt;&lt;BR /&gt;Is this correct to compile my c files which need two include dirs - one is the current dir and one is the /home/Application/Include/?&lt;BR /&gt;&lt;BR /&gt;cc -I. /home/Application/Include/ *.c&lt;BR /&gt;&lt;BR /&gt;Please let me know.&lt;BR /&gt;Thanks.&lt;BR /&gt;Aijun.</description>
      <pubDate>Fri, 21 Jul 2000 23:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432219#M728891</guid>
      <dc:creator>Ai Jun Zhang</dc:creator>
      <dc:date>2000-07-21T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to have the include -I in cc to include more than one direcory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432220#M728892</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Too specify different directories fot the linker to search in, use '-Ldirectory' different times.&lt;BR /&gt;&lt;BR /&gt;So in your case:&lt;BR /&gt;-L. -L/home/Application/Include&lt;BR /&gt;&lt;BR /&gt;The lower caps 'l' is to specify the libraries. The same rule is true here. If you need more than one librarie, use multiple '-l' switches.&lt;BR /&gt;&lt;BR /&gt;This should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Rik&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Jul 2000 05:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432220#M728892</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-07-22T05:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to have the include -I in cc to include more than one direcory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432221#M728893</link>
      <description>Oops,&lt;BR /&gt;&lt;BR /&gt;I misunderstood your question.&lt;BR /&gt;&lt;BR /&gt;To specify more than 1 include directory, the same principle works too.&lt;BR /&gt;&lt;BR /&gt;-I/include/dir/one -I/include/dir/two&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Rik.</description>
      <pubDate>Sat, 22 Jul 2000 09:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-have-the-include-i-in-cc-to-include-more-than-one/m-p/2432221#M728893</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-07-22T09:56:55Z</dc:date>
    </item>
  </channel>
</rss>

