Title: regdef.h: No such file or directory how can I includ files requerd by gcc?
Tags: gcc;error-handling
Question: Im trying to cross compile helloWorld to mips but Im getting and error

```hello.S:10:20: error: regdef.h: No such file or directory
```

Here is start of that file

```/*
 * hello-1.2/Makefile
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 1995, 1997 by Ralf Baechle
 */
#include <regdef.h&gt;
#include <sys/asm.h&gt;
#include <sys/syscall.h&gt;
```

I did tried to includ it by appeding it like so 

```export LD_LIBRARY_PATH=/home/slobodan/rtl819x-toolchain/toolchain/rsdk-1.5.5
-5281-EB-2.6.30-51.243.686-82-773714/include/
```

but still Im getting same error, so how can I includ files requerd by gcc ?


Here is the accepted answer: I soled it just by ading -L i.e. gcc -L /path/to/include/



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2017:00:03/22/17', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<gcc><error-handling>', 'Title': 'regdef.h: No such file or directory how can I includ files requerd by gcc?', 'ViewCount': 229, 'id': 42957867, 'user_AboutMe': '', 'user_AccountId': 2489428.0, 'user_DisplayName': 'Vido', 'user_Reputation': 182.0, 'user_Views': 72.0, 'user_id': 3291092.0}}