Opened 16 years ago

Last modified 16 years ago

#1016 closed defect (fixed)

Variables "OSTYP" and "OS_MSYS" are used but are not instantiated in /trunk/Compiler/omc_debug/Makefile.in

Reported by: donida Owned by: donida
Priority: critical Milestone:
Component: Version:
Keywords: Cc: donida,

Description

Within the /trunk/Compiler/omc_debug/Makefile.in file, the "OSTYP" and "OS_MSYS" variables are used (see below) but are not instantiated:

ifeq ($(OSTYP),$(OS_MSYS))

LIBSOCKET=

CORBALIB=-L$(CORBAHOME)/lib -lmico -lwsock32

else

CORBALIB=-L$(CORBAHOME)/lib mico-config --libs

endif

This causes a problem when trying to build the omcd file with a 64 bit Ubuntu OS.

A possible solution could be to initialize them:

OSTYP=$(OSTYPE)

OS_MSYS=msys

Using this initialization the omcd compilation process ends with no problems.

Change History (1)

comment:1 by Adrian Pop, 16 years ago

Hi,

We could actually get rid of them as they were ment
for a global Linux/MSYS/Cygwin Makefile, but now
we have different Makefiles for Linux and
Makefile.omdev.mingw for MSYS.

I will look into it.

Cheers,
Adrian Pop/

Note: See TracTickets for help on using tickets.