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]

Re[2]: compile pb


Hello Jose,
   Thanks for this help, i'll try to use your advises, but i saw that
   i have to declare some #define for the compiler:
   i saw WIN32;_NDEBUG;_MBCS;_LIB flags in the msvc libgsl.dsp
   Do you think this flags are good for a build with another win32
   compiler. What are they doing?
   Another question if i want to do a dll(that is different from
   those i can find in a gsl-bin*.zip), how to export all functions
   in the lib, i can be do with some comandline utilities but does a
   flag exist?
   
Saturday, August 04, 2001, 12:09:09 PM, you wrote:

JMB> Emmanuel Chomarat wrote:

>>   Can any1 help me to compile GSL, or give some way to investigate in
>>   the compilation. In the dist you use automake that is  a great
>>   product under unix like system, but i'm not sur that this format is
>>   human easy understandable. I'have some problems to make a makefile
>>   that will be good with borland c++, and i don't know how to generate
>>   makefile(except with cygwin but i think it contains some
>>   POSIX particularities that i don't have under borland) .

JMB> Hello, I started to make the MSVC projects looking into the Makefile.am files.

JMB> And yes those files are human readables ...

JMB> I can give you some hints in order to proceed:

JMB> - First you have to look into the gsl sources root Makefile.am
JMB>     The SUBDIRS variable give you the subdirs to be processed and the order
JMB> (from left to right).
JMB>     So in every Makefile.am file you can find a SUBDIRS variable or not (in
JMB> which case you are in
JMB>     a leaf dir).

JMB> - GSL is built from leafs to root directory and in every leaf dir is built a
JMB> pseudo library,
JMB>     and all this leaf libraries are linked together in the root dir (or in gsl
JMB> dir I can not remember
JMB>     now).

JMB> - In every Makefile.am in a leaf dir for building a test program you have
JMB> something like:

JMB>     bin_PROGRAMS= program1

JMB>     program1_SOURCES= source1.c source1.h source2.c source2.h
JMB>     program1_LDADD=-llibrary1 -llibrary2

JMB> So you can just follow more or less the Makefile.am files in order to now how
JMB> to proceed.

JMB> On the other hand you can just follow the structure of the Visual C++ projects
JMB> files and
JMB> use it to construct the borland c++ projects files and then export them to
JMB> makefiles (is
JMB> this possible?).

JMB> I hope to be of any help and not to confuse you more ;-).

JMB> Jose Miguel.

JMB> --
JMB> -------------------------------------------------------------------
JMB> Jose Miguel Buenaposada Biencinto
JMB> Facultad de Informática                  | Computer Science School
JMB> Universidad Politécnica de Madrid  (UPM) | Madrid Tech. University.
JMB> Campus de Montegancedo s/n
JMB> 28660 Boadilla del Monte, Madrid (ESPAÑA)| (SPAIN)
JMB> Voice    +34 91 336 69 47
JMB> Fax      +34 91 352 48 19
JMB> e-mail:  jmbuena@dia.fi.upm.es
JMB> web   :  http://www.dia.fi.upm.es/~jmbuena
JMB> -------------------------------------------------------------------
JMB> Yo soy Precario FPU, ¿ y tu ?: http://www.precarios.org





-- 
Best regards,
 Emmanuel                            mailto:Emmanuel.Chomarat@bigfoot.com


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