Closed Bug 503344 Opened 11 years ago Closed 7 years ago

Correct Symbian build config for JavaScript engine

Categories

(Firefox Build System :: General, defect)

All
Symbian
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(2 files, 1 obsolete file)

Currently autoconf script for Symbian emulator of JavaScript engine is broken.

- Symbian emulator uses CodeWarrior (mwccsym2)
- cannot make shared library and execute file
- fix compiler option and linker option
Attached patch patch v0Splinter Review
work in progress...
1, compile nsinstall_win.c problem under symbian 
  
        Because  wmain function does not support by mingw,so I changed wmain function to main,
        but even I compiled nsinstall_win.c succesful, js/cofig/nsinstall.exe throw exception while using.
        Now,I use default nsinstall.exe ,not js/config/nsinstall.exe.
         
         Does anybody has  good idea ? 
            
2, CXXFLAGS 

 
   CXXFLAGS  must add  -I$SYMBIAN_SDK_DIR/epoc32/include/stdapis/stlport  in arm-none-symbianelf   target
   
3, build step        

  GCCE:
  
  cd Mozilla 
  mkdir  objdir-symbian-gcce
  cd  objdir-symbian-gcce          
  ../configure --target=arm-none-symbianelf --enable-symbian-target=GCCE --disable-debug --with-symbian-sdk=/c/Symbian/9.2/S60_3rd_FP1 --enable-application=xulrunner --enable-default-toolkit=cairo-symbian --disable-javaxpcom --disable-jit --disable-necko-wifi
  make tier_nspr
  make tier_js

  WINSCW:
  
  cd Mozilla 
  mkdir  objdir-symbian-winscw
  cd  objdir-symbian-winscw          
  ../configure --target=arm-none-symbianelf --enable-symbian-target=WINSCW --disable-debug --with-symbian-sdk=/c/Symbian/9.2/S60_3rd_FP1 --enable-application=xulrunner --enable-default-toolkit=cairo-symbian --disable-javaxpcom --disable-jit --disable-necko-wifi
  make tier_nspr
  make tier_js
Attachment #396971 - Attachment is patch: true
Attachment #396971 - Attachment mime type: application/octet-stream → text/plain
Attachment #396971 - Attachment is obsolete: true
in nsinstall_win.c

int main(){

	int argc;
	int ret = 0;
	wchar_t** argv = CommandLineToArgvW( GetCommandLineW(),&argc);
	if ( NULL == argv)
	{
		wprintf(L"CommandLineToArgvW failed\n");  
	}
	ret = shellNsinstall ( argv + 1);
	LocalFree(argv);
	return ret;

}
Symbian is dead
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.