Page 1 of 1

gcc 4.1.2 with input files on separate file

Posted: Sun Jan 22, 2012 1:28 am
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.

Re: gcc 4.1.2 with input files on separate file

Posted: Sun Jan 22, 2012 1:34 am
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

Re: gcc 4.1.2 with input files on separate file

Posted: Sun Jan 22, 2012 1:37 am
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.

Re: gcc 4.1.2 with input files on separate file

Posted: Sun Jan 22, 2012 1:59 am
by alsaleem
Thank Eran for the fast response.
Faster than expected. I did not notice your post.

Keep the good work.