Hi I will just reply to my own mail.
Figured it out. I am attaching the config.solaris inline. I've just added -m64 three places to instruct compiler and linker to make 64 bit files. bash-3.00#file software/live/mediaServer/live555MediaServer software/live/mediaServer/live555MediaServer: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped, no debugging information available config.solaris COMPILE_OPTS = $(INCLUDES) -m64 -I. -O -DSOLARIS -DSOCKLEN_T=socklen_t C = c C_COMPILER = cc C_FLAGS = $(COMPILE_OPTS) CPP = cpp CPLUSPLUS_COMPILER = c++ CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall OBJ = o LINK = c++ -m64 -o LINK_OPTS = -L. CONSOLE_LINK_OPTS = $(LINK_OPTS) LIBRARY_LINK = ld -o LIBRARY_LINK_OPTS = $(LINK_OPTS) -64 -r -dn LIB_SUFFIX = a LIBS_FOR_CONSOLE_APPLICATION = -lsocket -lnsl LIBS_FOR_GUI_APPLICATION = $(LIBS_FOR_CONSOLE_APPLICATION) EXE = As i said earlier I am not a developer so this is based on works-for-me info. Kind regards Michael Skaastrup >The usual method - i.e. > genMakefiles solaris >is supposed to work for both 32-bit and 64-bit Solaris. > >But if that's not the case, and there's some change that could be >made to the "config.solaris" file in order to fix this, then please >let us know. >-- > >Hi. > >Sorry, should have stated that. The above mentioned method works fine >and streams fine. > >But the result is a 32 bit binary. > >And I am having problems reading files that are over 2 GB so therefore I >speculated that this is because of the 32 bitness of the binary. OK, so you (or someone else who's knowledgeable about compiling/linking for Solaris) is going to have to figure out what changes should be made to the "config.solaris" file in order to properly compile/link applications for 64-bit Solaris. I'm not a Solaris expert (and don't have a Solaris machine available for testing anyway), so someone else is going to have to figure this out for us. -- Hi. I will try to dig deeper. Contacting SUN right now. If anything turns up I will inform you via this list. Thank you for taking time.. If anybody else on the list has anything to add, please do not hesitate. Kind regards Michael Skaastrup Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
<<winmail.dat>>
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel