This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compile under borland C++



  Hello ,

        I  was  really  busy for a long , but i just want to inform you that gsl
        compile  nearly  without  pb  under  win  and  compile  with borland c++
        product( c++ builder, free commandline tool  (excellant c++ product, free of
        charge))


        This is a summary of the steps to do :

             First  of  all you need to use the file config.h(found in msvc dir) in the root of the
             distribution.

             You also need to make some correction in 2 or 3 files ( error about
             const  var that are affected after initialisation)( you can see the
             files i think in one of my mail 2 months ago)
             
             After you compile each source file with the command:
                   bcc32 -I.. -Idir_to_gsl_header -c file.c
             version.c + every dir
             You  have  to  compile  only  the source file and not those who are
             include  with  #include  directive. To know the list take a look at
             each makefile.

             after  you  need to rename each file something like dir_file.obj( i
             did it with a PERL script, wonderful language)
             this  is  necessary  coz  the linker cannot  link two file with the
             same name in a lib.

             you create the two libs libgsl.lib libgslcblas.lib with the command
             tlib libgsl +dir_file.obj ( for each obj file, perl help me again).

That's  all  folks  ,  all  the  tests i did are OK( nevertheless i think a more
extensive test session is necesseray).

Thx to everyone for this great lib.


        

-- 
 Emmanuel                          mail:Emmanuel.Chomarat@bigfoot.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]