CINT 5.15.174 and Unresolved externals

Hi,

it’s -o, and run “./configure” without the quotes.

Axel.

Hello Axel

I just tested the msvc7 configuration and it generated the makefile OK.

when I run “make” from with cygwin is it a make utility that is available from within cygwin or in my case it wants to run the borland make ??

I will look at trying to create the configuration for the borland compiler. I may need to pick your brains for this if that’s ok :wink:

regards
david

[quote]when I run “make” from with cygwin is it a make utility that is available from within cygwin or in my case it wants to run the borland make ?? [/quote]The makefile are expected to run with GNU’s make (which comes with cygwin). [Borland’s make might or not be using the same Makefile syntax].

Cheers,
Philippe.

Hello Philipe

Yes I doubt the borland would be suitable.

It doesn’t appear that I have the GNU make in my cygwin install. how can i tell if i have ?? I don’t recall specifically selecting it when I installed cygwin.

regards
david

Hi,

You will need to rerun cygwin’s setup to install make (I think there is a package just for that).

Cheers,
Philippe.

OK I reinstalled cygwin with the make option and is now working.

Just one question.

What is the fundamental difference between the .cxx and .c source files ??

Hi,

The .cxx source are C++ files while the .c files are C files.

Cheers,
Philippe.

[quote=“pcanal”]Hi,

The .cxx source are C++ files while the .c files are C files.

Cheers,
Philippe.[/quote]

Do I force C++ compile on the .C files ??

regards
david

Hi David,

You should have to worry about this. In the configure, you should be setting the value of CFLAGS and CXXFLAGS. CFLAGS will be used to compile old fashion C files and you should NOT force it to be C++ :slight_smile:. CXXFLAGS will be used to compile C++ files and you can force the compiler to assume C++ (i.e. we use /TP for microsoft’s compiler).

Cheers,
Philippe.

OK this is what I have done so far. The stuff in red is what I’m not sure about.

Specifically what is the LDOUT flag and LIBP and LIBL flags ??

Also does the implib hack apply to borland ??

[quote]function config_borland {
OBJEXT=.obj
EXEEXT=.exe
LIBEXT=.lib
SOEXT=.dll
IMPLIBEXT=.lib

CC=bcc32
CFLAGS=""
CMACROS="-DG__REDIRECTIO -DG__SHAREDLIB -DG__UNIX -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER"
CPP="bcc32 -P"
COUT=-o
COUTEXE=-o
COPTFLAGS="-O2"
CDBGFLAGS="-v"  

CXX=bcc32
CXXFLAGS="$CXXFLAGS $CFLAGS -P"
CXXMACROS="$CMACROS"
CXXOPTFLAGS="$COPTFLAGS"
CXXDBGFLAGS="$CDBGFLAGS"

LD=ilink32
LDFLAGS="-q"

[color=red] LDOUT=-out:
LIBP=-LIBPATH:
LIBL=lib@imp@$IMPLIBEXT
LDOPTFLAGS=
LDDBGFLAGS=-v
DEFAULTLIBS=""
EXPLLINK=1

# hack to get the implib and def in
SOFLAGS="$LDFLAGS -DLL -implib:@so@$LIBEXT"
SODBGFLAGS="-debug"
SOOUT=-out:
EXTRACTSYMBOLS="dumpbin.exe /SYMBOLS @obj@ | grep -e ' notype ()[[:space:]]\{4\}External '| grep -v ' UNDEF ' | grep -v 'AEPAXI@Z ('| sed 's!^[[:xdigit:]]\{3,\}[[:space:]]\+\([[:xdigit:]]\{8\}\)[[:space:]]\+.*\+External[[:space:]]\+|[[:space:]]\+\([^(]\+\).*\$!\1 \2!'| cut -d' ' -f2"          

MANGLEPATHS="cygpath -m"
MANGLEPATHSU="cygpath -u"
STREAMDIR=vc7strm
PLATFORMO=winnt
RM="rm -f"
MV="mv -f"
AR="lib /OUT:"

NOREADLINE=1    [/color]        

}[/quote]

Hi,

Here are my guesses (from your help output and the old CINT platform file):

[code]function config_borland {
OBJEXT=.obj
EXEEXT=.exe
LIBEXT=.lib
SOEXT=.dll
IMPLIBEXT=.lib

CC=bcc32
CFLAGS="“
CMACROS=”-DG__BORLANDCC5 -DG__REDIRECTIO -DG__SHAREDLIB -DG__UNIX -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER"
CPP=“cpp32 -Sr -Sc -Ic:\Borland\BCC55\Include"
COUT=-o
COUTEXE=-o
COPTFLAGS=”-O2"
CDBGFLAGS="-v"

CXX=bcc32
CXXFLAGS="$CXXFLAGS $CFLAGS -P"
CXXMACROS="$CMACROS"
CXXOPTFLAGS="$COPTFLAGS"
CXXDBGFLAGS="$CDBGFLAGS"

LD=bcc32
LDFLAGS="“
LDOUT=-o
LIBP=-L
LIBL=lib@imp@$IMPLIBEXT
LDOPTFLAGS=-WD
LDDBGFLAGS=-v
DEFAULTLIBS=”"
EXPLLINK=1

hack to get the implib and def in

SOFLAGS="$LDFLAGS “
SODBGFLAGS=”-g"
SOOUT=-o
EXTRACTSYMBOLS=“dumpbin.exe /SYMBOLS @obj@ | grep -e ’ notype ()[[:space:]]{4}External ‘| grep -v ’ UNDEF ’ | grep -v ‘AEPAXI@Z (’| sed ‘s!^[[:xdigit:]]{3,}[[:space:]]+([[:xdigit:]]{8})[[:space:]]+.+External[[:space:]]+|[[:space:]]+([^(]+).$!\1 \2!’| cut -d’ ’ -f2”

MANGLEPATHS="cygpath -m"
MANGLEPATHSU="cygpath -u"
STREAMDIR=vc7strm
PLATFORMO=winnt
RM="rm -f"
MV="mv -f"
AR=“lib /OUT:”

NOREADLINE=1
}[/code]

Hello Phillipe

I will try experimenting with that.

Also if I want to install CINT in any other directory other than c:\cint what would I have to change ??

regards
david

[quote]Also if I want to install CINT in any other directory other than c:\cint what would I have to change ?? [/quote]Nothing :slight_smile:. Well if you set CINTSYSDIR, set it to the new directory.

Cheers,
Philippe.

Hi,

or pass --prefix to configure, see configure --help.

Cheers, Axel.