OS/2, eCS & ArcaOS - Technical > Web applications
Oddities with Youtube.
Dave Yeo:
Hi Andreas,
Without the CPPFLAGS=-idirafter the build dies here,
--- Code: ---150:27.99 In file included from K:/usr/include/os2.h:37:0,
150:28.00 from C:/work/cc45esr/mozilla/widget/os2/nsAppShell.h:11,
150:28.00 from C:/work/cc45esr/mozilla/widget/os2/nsAppShell.cpp:6:
150:28.00 K:/usr/include/os2tk.h:11:20: fatal error: os2def.h: No such file or directory
150:28.00 #include <os2def.h>
150:28.00 ^
150:28.00 compilation terminated.
--- End code ---
As for why dmik has two -idirafter, it's probably just the way he passes options to configure, or has it in his environment where I use a mozconfig along with having the idirafter parameter in my config.site and run mach or make -f client,mk which automatically runs configure.
ak120:
--- Quote from: Dave Yeo on November 24, 2017, 07:27:45 am ---Hi Andreas,
Without the CPPFLAGS=-idirafter the build dies here,
--- Code: ---150:27.99 In file included from K:/usr/include/os2.h:37:0,
150:28.00 from C:/work/cc45esr/mozilla/widget/os2/nsAppShell.h:11,
150:28.00 from C:/work/cc45esr/mozilla/widget/os2/nsAppShell.cpp:6:
150:28.00 K:/usr/include/os2tk.h:11:20: fatal error: os2def.h: No such file or directory
150:28.00 #include <os2def.h>
150:28.00 ^
150:28.00 compilation terminated.
--- End code ---
--- End quote ---
Thanks for testing it. Does it also complain the same way when toolkit headers reside under the same drive letter C? I was thinking that gcc and g++ are still using the same preprocessor. I'm not an expert in C++ (and have almost no knowledge about g++) but would ask: Which variables for CXX and CXXFLAGS are used by GNU make?
--- Quote ---As for why dmik has two -idirafter, it's probably just the way he passes options to configure, or has it in his environment where I use a mozconfig along with having the idirafter parameter in my config.site and run mach or make -f client,mk which automatically runs configure.
--- End quote ---
Unfortunately there's no SRPM available to check it. It seems that the repos only offer binaries?
Sorry for driving this thread off-topic and asking too many questions. My American language skills are quite limited without any flavour enhancers.
Dave Yeo:
--- Quote from: Andreas Kohl on November 24, 2017, 03:45:43 pm ---Thanks for testing it. Does it also complain the same way when toolkit headers reside under the same drive letter C?
--- End quote ---
Yes.
Back before Bitwise started working on Mozilla using the RPM environment, we just simply had the toolkit headers at the end of the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH. GCC 4.92 is not happy with that and there are conflicts between the headers.
--- Quote --- I was thinking that gcc and g++ are still using the same preprocessor. I'm not an expert in C++ (and have almost no knowledge about g++) but would ask: Which variables for CXX and CXXFLAGS are used by GNU make?
--- End quote ---
Well make can use any variables, but usually use CXX=g++ and CXXFLAGS=-whatever. Here's a snippet from flac's makefile,
--- Code: ---CC = gcc -std=gnu99
CCAS = gcc -std=gnu99
CCASDEPMODE = depmode=gcc3
CCASFLAGS =
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -funroll-loops -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline -Wdeclaration-after-statement -msse2
CPP = gcc -std=gnu99 -E
CPPFLAGS = -D_FORTIFY_SOURCE=2
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef -Weffc++
--- End code ---
--- Quote ---Unfortunately there's no SRPM available to check it. It seems that the repos only offer binaries?
--- End quote ---
I'd guess source RPM's will become available once the RPM is officially released. I'd like to look at it so I can build RPMs of SM and TB for Arca Noae
--- Quote ---Sorry for driving this thread off-topic and asking too many questions. My American language skills are quite limited without any flavour enhancers.
--- End quote ---
Navigation
[0] Message Index
[*] Previous page
Go to full version