Menu

i cant compiling the code source. Any ideas?

2002-07-24
2002-09-16
  • Nobody/Anonymous

    I am a webmaster of a web portal about newsservers to spain and americas (www.indicenews.com, you are invited) and how now i am learning C, C++, DELPHI and JAVA, i wish to create a interface (little interface) for parchive under windows but i have a problem. I cant compilling the code source. I am working with borland C/C++ 5.02 and i cant to make the .exe

    I have seen a makefile archive but i dont understand too it. My english is a bit poor :-).

    My plataform is windows but in my university i have a terminal of linux.

    any ideas? how can i use the archive "makefile"? do i need a machine under unix or linux (not a terminal of linux under windows)? The error is "dont

    Please, i dont know to make yet for 2 weeks. Thanks in advance.

     
    • Nobody/Anonymous

      Try getting cygwin ( http://sources.redhat.com/cygwin/ ) ; then from the, enter "make" where your makefile is.  For example, to get at C:\stuff, use "cd /cygDrive/C/stuff"

      The sources are sure confusing though... Must go back to staring at it some more.

       
    • Nobody/Anonymous

      Hi,

      I downloading the cygwin program (its great!) and i have make your instructions to compile the code but... the archive makefile has instructions that the program doesnt understand. I have seen the makefile archive and the say about backend.o, main.o, md5.o etc but i havent those archives. I think that its because before to execute the makefile i need to compile the archives. I dont know. How i transform the archives to extension .o ?

      My nivel yet is a bit poor. Thanks in advance any ideas of all.

       
      • Nobody/Anonymous

        Try these commands seperately: (in cygwin of course)

        gcc -g -W -Wall -Wno-unused -O2   -c -o backend.o backend.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o checkpar.o checkpar.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o makepar.o makepar.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o rwpar.o rwpar.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o rs.o rs.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o md5.o md5.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o fileops.o fileops.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o main.o main.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o readoldpar.o readoldpar.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o interface.o interface.c
        gcc -g -W -Wall -Wno-unused -O2   -c -o ui_text.o ui_text.c
        gcc -o par backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o

        That's what the makefile does anyway

         
    • Nobody/Anonymous

        .o is a object? How i can to transform the archives to object?

       

Log in to post a comment.