Thanks for the pointer Alon, the "Building Projects" link was very helpful. 
 Following those instructions, I was able to get the build working on OS X. 
 Running those instructions on Ubuntu produced the same linker problem, but 
when I supplied "--disable-debug" to the emconfig configure call, that 
problem went away.

Sam

On Wednesday, January 1, 2014 1:07:45 PM UTC-7, azakai wrote:
>
>     CC=~/Documents/srr/emscripten/emcc ../configure
>
> is not correct. You should use emconfigure,
>
>     emconfigure ../configure
>
> so it sets all the proper env variables for you. See 
> https://github.com/kripken/emscripten/wiki/Building-Projects for more 
> info.
>
> Run the last command (that fails) with `EMCC_DEBUG=1` in the environment 
> (or `-v` passed to emcc) to get more info on what is happening there.
>
> - Alon
>
>
>
> On Wed, Jan 1, 2014 at 11:43 AM, Sam Reid <[email protected] <javascript:>
> > wrote:
>
>> Hi there,
>>
>> I am trying to get a circuit simulator called ngspice to compile under 
>> emscripten, but I am running into a problem during the linking phase.  I 
>> posted full details about my configuration and the problem on stack 
>> overflow:
>>
>> http://stackoverflow.com/questions/20872425/linking-error-when-compiling-ngspice-with-emscripten-on-ubuntu
>>
>> Any help would be greatly appreciated, thanks!
>> Sam
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to