I am building a workspace with two builds (gcc 4.6.2 & arm-none-gnueabi 4.1.2).
The project compiles ok with gcc. However, it gives error building with arm-none-gnueabi. It complaints (No such file or directory:)
gcc -o ./Debug/getlog @"/home/user/cgi/getlog.txt" -L. (<== ok)
arm-none-gnueabi-gcc -o ./Arm/getlog @"/home/user/cgi/getlog.txt" -L. (<== gives error).
Is there a solution to make codelite work with gcc 4.1.2?
Thanks.
gcc 4.1.2 with input files on separate file
-
- CodeLite Curious
- Posts: 3
- Joined: Sun Jan 22, 2012 12:43 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gcc 4.1.2 with input files on separate file
Old GCC does not handle the @ operator properly...
To disable it:
"Settings -> Build Settings -> Compilers -><YOUR COMPILER NAME> -> Advanced" and disable the option: "Pass object list to the linker via file"
Eran
To disable it:
"Settings -> Build Settings -> Compilers -><YOUR COMPILER NAME> -> Advanced" and disable the option: "Pass object list to the linker via file"
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Sun Jan 22, 2012 12:43 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gcc 4.1.2 with input files on separate file
I found the solution :
build options -> compilers -> advanced settings :
uncheck (pass object list to linker via file)
Thanks for the great work of codelite.
build options -> compilers -> advanced settings :
uncheck (pass object list to linker via file)
Thanks for the great work of codelite.
-
- CodeLite Curious
- Posts: 3
- Joined: Sun Jan 22, 2012 12:43 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gcc 4.1.2 with input files on separate file
Thank Eran for the fast response.
Faster than expected. I did not notice your post.
Keep the good work.
Faster than expected. I did not notice your post.
Keep the good work.