Bit of extra info i missed.. The versions in use are as follows Solaris 10 /usr/ccs/bin/as - SS10 OpenSolaris(133) /usr/ccs/bin/as - SS12
Both are using gcc 3.4.3 On 5 March 2010 23:22, Bradley Latus <brad.la...@gmail.com> wrote: > Hello All, > > I am trying to compile the asterisk application. > Basically it compiles a non-optimised and optimised version of the code. > Directing the output of the file to /dev/null. > > Now, under solaris 10 I have no error, under osol snv_133 i receive the > below error: > > /usr/ccs/bin/as: file exists > /usr/ccs/bin/as: error: cannot open output file "/dev/null" > > Actual command > ---------- > gcc -o /dev/null -c astcanary.i -O6 -D_REENTRANT -pthreads > -I/export/home/support/ast-trunk/include -I/usr/include/libxml2 -pipe > -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 > -Werror -Wunused -Wdeclaration-after-statement > -D_FORTIFY_SOURCE=2 -Wundef -Wmissing-format-attribute -Wformat=2 > -Wcast-align -DSOLARIS -I../include/solaris-compat > -I/opt/sl/include -I/usr/loscal/ssl/include -D_XPG4_2 -D__EXTENSIONS__ > -DSTANDALONE > > > Makefile.rules > --------------------- > %.o: %.s > $(ECHO_PREFIX) echo " [AS] $< -> $@" > ifeq ($(COMPILE_DOUBLE),yes) > $(CMD_PREFIX) $(CC) -o /dev/null -c $< $(OPTIMIZE) $(CC_CFLAGS) > endif > $(CMD_PREFIX) $(CC) -o $@ -c $< $(CC_CFLAGS) > > > -- > Best Regards, > Brad Latus > -- Best Regards, Brad Latus
_______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org