News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

custom build command fails...

Started by Anonymous, July 17, 2005, 01:41:33 PM

Previous topic - Next topic

Anonymous

I'm trying to compile a quite large project using the Code::Blocks IDE (1.0-finalbeta) on Windows XP (MinGW). Unfortunately some parts of the code are written in good old Fortran77. The C part of the project compiles quite well into a static lib with the C::B build system. But, I've not been able to make C::B compiling the fortran files. The only thing it would need to do is feeding those files to g77. I tried to select "Gnu Makefile" as build method and entered the command to compile each of the fortran files into the custom build dialogs:

g77 -c $FILENAME -o $OBJECT

But something seems to went wrong with the makefile created by C::B because it stops with a message saying

cbm21D.tmp:104: *** missing separator. Stop.

The lines in the cbm21D.tmp file read (the lines giving the dependency for test.o seems to be corrupted somehow?!)

test.o.deps/test.d
   @echo Compiling "test.f" (custom command)...
   @$(FC) -c test.f -o test.o

Is this a bug or am I doing something wrong? Any ideas?

mandrav

It seems like the colon ( : ) separator is missing from this line. It should be
test.o:    .deps/test.d

Anyway RC1 will be released soon, so file this as a bug-report and it might just make it in time ;)

Yiannis.
Be patient!
This bug will be fixed soon...

mandrav

Quoteso file this as a bug-report and it might just make it in time
Don't bother filing it; fixed in CVS :)

Yiannis.
Be patient!
This bug will be fixed soon...