gcc 4.1.2 with input files on separate file

General questions regarding the usage of CodeLite
alsaleem
CodeLite Curious
Posts: 3
Joined: Sun Jan 22, 2012 12:43 am
Genuine User: Yes
IDE Question: C++
Contact:

gcc 4.1.2 with input files on separate file

Post by alsaleem »

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.
User avatar
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

Post by eranif »

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
Make sure you have read the HOW TO POST thread
alsaleem
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

Post by alsaleem »

I found the solution :
build options -> compilers -> advanced settings :
uncheck (pass object list to linker via file)

Thanks for the great work of codelite.
alsaleem
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

Post by alsaleem »

Thank Eran for the fast response.
Faster than expected. I did not notice your post.

Keep the good work.
Post Reply